MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / input_is_ref

Method input_is_ref

tensorflow/core/framework/op_kernel.h:1641–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1639}
1640
1641inline bool OpKernelContext::input_is_ref(int index) const {
1642 const TensorValue& value((*params_->inputs)[index]);
1643 return value.is_ref();
1644}
1645
1646inline void OpKernelContext::record_tensor_reference(const Tensor& tensor) {
1647 DCHECK_EQ(params_->device->RequiresRecordingAccessedTensors(),

Callers 1

ComputeMethod · 0.80

Calls 1

is_refMethod · 0.80

Tested by

no test coverage detected