---
title: "ClikaRT::ops::hash_64"
sidebar_label: "hash_64"
description: "64-bit content hash of input's packed bytes (row-major logical order; strided inputs are materialized internally)."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--function">function</span>

## hash\_64() {#hash_64}

<div class="api-signature">

[`Tensor`](../Tensor.md) **`hash_64`**([`Tensor`](../Tensor.md) `input`, `std::uint64_t` `seed` `=` `0`)

</div>

64-bit content hash of `input`'s packed bytes (row-major logical order; strided inputs are materialized internally). A frozen function of (seed, bytes): identical on every platform, backend, and ISA tier, so digests are safe to persist and compare across devices. `seed` perturbs the key; 0 selects the runtime's fixed content-addressing key.

**Returns:** a 0-D UInt64 digest.

**Throws**

- `ClikaRT::Error`: when the input's dtype is not served for this operation (the machine-readable reason rides `code_name()`).

<div class="api-declared">

Declared in `ClikaRT/compute/ops.h`, line 4480

</div>
