Home
last modified time | relevance | path

Searched refs:TF_DeleteTensor (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/c/eager/
Dc_api_test_util.cc31 TF_DeleteTensor(t); in TestScalarTensorHandle()
43 TF_DeleteTensor(t); in TestScalarTensorHandle()
55 TF_DeleteTensor(t); in TestScalarTensorHandle()
69 TF_DeleteTensor(t); in DoubleTestMatrixTensorHandle()
83 TF_DeleteTensor(t); in TestMatrixTensorHandle()
97 TF_DeleteTensor(t); in DoubleTestMatrixTensorHandle3X2()
111 TF_DeleteTensor(t); in TestMatrixTensorHandle3X2()
153 TF_DeleteTensor(t); in TestAxisTensorHandle()
Dc_api_test.cc184 TF_DeleteTensor(t); in TestRemoteExecute()
271 TF_DeleteTensor(t); in TestRemoteExecuteSilentCopies()
309 TF_DeleteTensor(t); in CheckTFE_TensorHandleHasFloats()
455 TF_DeleteTensor(t); in TEST()
519 TF_DeleteTensor(tcopy); in TensorHandleCopyBetweenDevices()
523 TF_DeleteTensor(t); in TensorHandleCopyBetweenDevices()
606 TF_DeleteTensor(t); in TensorHandleCopyBetweenTwoGPUDevices()
636 TF_DeleteTensor(tcopy); in TensorHandleCopyBetweenTwoGPUDevices()
639 TF_DeleteTensor(t); in TensorHandleCopyBetweenTwoGPUDevices()
685 TF_DeleteTensor(t); in TensorHandleSilentCopy()
[all …]
Dc_api_experimental_test.cc96 TF_DeleteTensor(t); in ExecuteWithProfiling()
/external/tensorflow/tensorflow/c/
Dc_api_test.cc142 TF_DeleteTensor(t); in TEST()
167 TF_DeleteTensor(t); in TEST()
182 TF_DeleteTensor(t); in TEST()
249 TF_DeleteTensor(dst); in TestEncodeDecode()
1106 TF_DeleteTensor(feedValues1[0]); in TEST()
1107 TF_DeleteTensor(fetchValues1[0]); in TEST()
1118 TF_DeleteTensor(feedValues2[0]); in TEST()
1119 TF_DeleteTensor(fetchValues2[0]); in TEST()
1140 Int8Tensor(vec2_dims, TF_ARRAYSIZE(vec2_dims), data), TF_DeleteTensor); in TEST()
1146 Int8Tensor(vec3_dims, TF_ARRAYSIZE(vec3_dims), data), TF_DeleteTensor); in TEST()
[all …]
Dc_test_util.cc148 unique_tensor_ptr tensor(BoolTensor(v), TF_DeleteTensor); in ScalarConst()
154 unique_tensor_ptr tensor(Int32Tensor(v), TF_DeleteTensor); in ScalarConst()
160 unique_tensor_ptr tensor(DoubleTensor(v), TF_DeleteTensor); in ScalarConst()
166 unique_tensor_ptr tensor(FloatTensor(v), TF_DeleteTensor); in ScalarConst()
539 TF_DeleteTensor(input_values_[i]); in DeleteInputValues()
546 if (output_values_[i] != nullptr) TF_DeleteTensor(output_values_[i]); in ResetOutputValues()
Dc_test.c44 TF_DeleteTensor(input); in compute()
Dc_test_util.h31 typedef std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)>
Dkernels_test.cc182 TF_DeleteTensor(input); in TEST()
Dc_api_experimental_test.cc204 TF_DeleteTensor(t); in TEST()
285 TF_DeleteTensor(t); in TEST()
Dc_api.h257 TF_CAPI_EXPORT extern void TF_DeleteTensor(TF_Tensor*);
Dc_api_function_test.cc897 TF_DeleteTensor(tensor_123); in TEST_F()
1575 TF_DeleteTensor(tensor_shape); in DefineStatefulFunction()
Dc_api_experimental.cc8762 TF_DeleteTensor(t); in TFE_TensorHandlePrintDebugString()
Dc_api.cc255 void TF_DeleteTensor(TF_Tensor* t) { delete t; } in TF_DeleteTensor() function
/external/tensorflow/tensorflow/c/kernels/
Dbitcast_op.cc128 TF_DeleteTensor(output); in BitcastOp_Compute()
135 TF_DeleteTensor(tensor); in BitcastOp_Compute()
/external/tensorflow/tensorflow/python/lib/core/
Dsafe_ptr.h34 void operator()(TF_Tensor* p) const { TF_DeleteTensor(p); } in operator()
Dndarray_tensor.cc378 [moved] { TF_DeleteTensor(moved); }, out_ndarray) in TF_TensorToPyArray()
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc468 TF_DeleteTensor(t); in Java_org_tensorflow_Tensor_allocateNonScalarBytes()
480 TF_DeleteTensor(reinterpret_cast<TF_Tensor*>(handle)); in Java_org_tensorflow_Tensor_delete()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl_test.cc93 TF_DeleteTensor(t); in SetTensorProto()
/external/tensorflow/tensorflow/go/
Dtensor.go154 func (t *Tensor) finalize() { C.TF_DeleteTensor(t.c) }