Struct that represents a possibly-absent Tensor.
| 35 | |
| 36 | // Struct that represents a possibly-absent Tensor. |
| 37 | struct OptionalTensor { |
| 38 | string name; // A descriptive name |
| 39 | bool present = false; // Is the tensor present? |
| 40 | Tensor value; // If present, what is the Tensor's value? |
| 41 | }; |
| 42 | |
| 43 | // Takes a snapshot of the values of resource variable arguments, whose indices |
| 44 | // are specified in `variable_indices` argument. We snapshot tensors that back |
no outgoing calls
no test coverage detected