---
title: "ValueCut"
sidebar_label: "ValueCut"
description: "The clika_runtime.graph ValueCut class."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

A cut through a graph's values, the answer of ModelGraph.min_value_cut: the values the nodes before the cut make and the nodes after it read, a graph output made before the cut included, in nodes() order of their producers, then port, and the bytes they hold. A view and the tensor it re-describes share their bytes, so both may be listed while bytes counts them once. Its views keep the graph alive. split(graph, cut) splits the graph in two at it.

## `bytes` (property)

The bytes the values hold, each tensor once.

## `values` (property)

The values that cross the cut, in nodes() order of their producers, then port.

## `__init__`

```python
__init__(self, /, *args, **kwargs)
```

Initialize self.  See help(type(self)) for accurate signature.
