Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/c/eager/
Dc_api_test_util.cc38 TF_DeleteTensor(t); in TestScalarTensorHandle()
51 TF_DeleteTensor(t); in TestScalarTensorHandle()
63 TF_DeleteTensor(t); in TestScalarTensorHandle()
75 TF_DeleteTensor(t); in TestScalarTensorHandle()
89 TF_DeleteTensor(t); in DoubleTestMatrixTensorHandle()
103 TF_DeleteTensor(t); in TestMatrixTensorHandle()
117 TF_DeleteTensor(t); in TestMatrixTensorHandleWithInput()
130 TF_DeleteTensor(t); in TestTensorHandleWithDimsFloat()
143 TF_DeleteTensor(t); in TestTensorHandleWithDimsInt()
162 TF_DeleteTensor(t); in TestMatrixTensorHandle100x100()
[all …]
Dmnist_gradients_test.cc135 TF_DeleteTensor(dA_tensor); in TEST_P()
136 TF_DeleteTensor(dB_tensor); in TEST_P()
211 TF_DeleteTensor(scores_tensor); in TEST_P()
212 TF_DeleteTensor(loss_vals_tensor); in TEST_P()
288 TF_DeleteTensor(scores_tensor); in TEST_P()
289 TF_DeleteTensor(loss_vals_tensor); in TEST_P()
441 TF_DeleteTensor(dW1_tensor); in TEST_P()
442 TF_DeleteTensor(dW2_tensor); in TEST_P()
495 TF_DeleteTensor(dA_tensor); in TEST_P()
Dgradient_checker.cc62 TF_DeleteTensor(model_out_tensor); in RunAndMaybeSum()
192 TF_DeleteTensor(grad_tensor); in CalcNumericalGrad()
199 TF_DeleteTensor(theta_tensor); in CalcNumericalGrad()
Dc_api_test.cc195 TF_DeleteTensor(t); in TEST()
260 TF_DeleteTensor(tcopy); in TensorHandleCopyBetweenDevices()
264 TF_DeleteTensor(t); in TensorHandleCopyBetweenDevices()
350 TF_DeleteTensor(t); in TensorHandleCopyBetweenTwoGPUDevices()
380 TF_DeleteTensor(tcopy); in TensorHandleCopyBetweenTwoGPUDevices()
383 TF_DeleteTensor(t); in TensorHandleCopyBetweenTwoGPUDevices()
453 TF_DeleteTensor(t); in TensorHandleSilentCopy()
632 TF_DeleteTensor(orig); in ExecuteAdd()
677 TF_DeleteTensor(t); in ExecuteAdd()
745 TF_DeleteTensor(t); in Execute_MatMul_CPU()
[all …]
Dgradients_util.cc50 TF_DeleteTensor(t); in ScalarTensorHandleHelper()
64 TF_DeleteTensor(t); in TensorHandleWithDimsFloatHelper()
78 TF_DeleteTensor(t); in TensorHandleWithDimsIntHelper()
Dc_api_unified_experimental_test.cc100 TF_DeleteTensor(result_tensor); in TEST_P()
173 TF_DeleteTensor(result_tensor); in TEST_P()
259 TF_DeleteTensor(result_tensor); in TEST_P()
345 TF_DeleteTensor(result_tensor); in TEST_P()
435 TF_DeleteTensor(f_t); in TEST_P()
540 TF_DeleteTensor(f_t); in TEST_P()
688 TF_DeleteTensor(f_t); in TEST_P()
899 TF_DeleteTensor(f_t); in TEST_P()
Dc_api_experimental_test.cc285 TF_DeleteTensor(t); in TEST()
309 TF_DeleteTensor(r); in TEST()
354 TF_DeleteTensor(t); in Executor_MatMul_CPU()
403 TF_DeleteTensor(resolved); in TEST()
408 TF_DeleteTensor(m_data); in TEST()
Dc_api_distributed_test.cc218 TF_DeleteTensor(t); in TestFunctionWithPackedInput()
402 TF_DeleteTensor(t); in TEST()
530 TF_DeleteTensor(t); in TestDistributedFunctionCancellation()
/external/tensorflow/tensorflow/c/kernels/
Dsummary_op.cc54 TF_DeleteTensor(tags); in ~Params()
55 TF_DeleteTensor(values); in ~Params()
103 TF_DeleteTensor(summary_tensor); in ScalarSummaryOp_Compute()
110 TF_DeleteTensor(summary_tensor); in ScalarSummaryOp_Compute()
Dbitcast_op.cc130 TF_DeleteTensor(output); in BitcastOp_Compute()
137 TF_DeleteTensor(tensor); in BitcastOp_Compute()
Dtensor_shape_utils_test.cc34 ~TF_TensorWrapper() { TF_DeleteTensor(tf_tensor); } in ~TF_TensorWrapper()
/external/tensorflow/tensorflow/c/experimental/gradients/
Dgrad_test_helper.cc70 TF_DeleteTensor(analytical_tensor); in CompareNumericalAndAutodiffGradients()
71 TF_DeleteTensor(numerical_tensor); in CompareNumericalAndAutodiffGradients()
105 TF_DeleteTensor(analytical_tensor); in CheckTensorValue()
/external/tensorflow/tensorflow/c/experimental/saved_model/internal/
Dsaved_model_api_test.cc143 TF_DeleteTensor(result); in TEST_P()
283 TF_DeleteTensor(result); in TEST_P()
340 TF_DeleteTensor(result); in TEST_P()
408 TF_DeleteTensor(result); in TEST_P()
440 TF_DeleteTensor(result); in TEST_P()
473 TF_DeleteTensor(result); in TEST_P()
574 TF_DeleteTensor(result); in TEST_P()
/external/tensorflow/tensorflow/c/
Dc_api_experimental_test.cc233 TF_DeleteTensor(scalarTensor); in TEST_F()
234 TF_DeleteTensor(tensor_1X1X6); in TEST_F()
235 TF_DeleteTensor(tensor_1X6); in TEST_F()
Dc_api_test.cc145 TF_DeleteTensor(t); in TEST()
170 TF_DeleteTensor(t); in TEST()
185 TF_DeleteTensor(t); in TEST()
253 TF_DeleteTensor(dst); in TestEncodeDecode()
1143 TF_DeleteTensor(feedValues1[0]); in TEST()
1144 TF_DeleteTensor(fetchValues1[0]); in TEST()
1155 TF_DeleteTensor(feedValues2[0]); in TEST()
1156 TF_DeleteTensor(fetchValues2[0]); in TEST()
1177 Int8Tensor(vec2_dims, TF_ARRAYSIZE(vec2_dims), data), TF_DeleteTensor); in TEST()
1183 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()
Dkernels_test.cc544 TF_DeleteTensor(input); in TEST()
745 TF_DeleteTensor(output); in TEST_F()
769 TF_DeleteTensor(output); in TEST_F()
798 TF_DeleteTensor(output); in TEST_F()
835 TF_DeleteTensor(output); in TEST_F()
867 TF_DeleteTensor(output); in TEST_F()
904 TF_DeleteTensor(output); in TEST_F()
942 TF_DeleteTensor(output); in TEST_F()
Dtf_tensor.h111 TF_CAPI_EXPORT extern void TF_DeleteTensor(TF_Tensor*);
Dc_test.c44 TF_DeleteTensor(input); in compute()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Deval_util.cc112 MakeCleanup([tf_tensor] { TF_DeleteTensor(tf_tensor); }); in EvaluateOperation()
138 MakeCleanup([tf_tensor] { TF_DeleteTensor(tf_tensor); }); in EvaluateOperation()
/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device_testlib.cc136 std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor( in FloatTensorHandle()
139 TF_DeleteTensor); in FloatTensorHandle()
150 std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor( in VectorFloatTensorHandle()
153 TF_DeleteTensor); in VectorFloatTensorHandle()
Dparallel_device_testlib.h143 std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> actual_value( in ExpectScalarEq()
144 TFE_TensorHandleResolve(handle, status.get()), TF_DeleteTensor); in ExpectScalarEq()
Dparallel_device_lib.h228 std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor( in ScalarsFromSequence()
236 TF_DeleteTensor); in ScalarsFromSequence()
/external/tensorflow/tensorflow/python/lib/core/
Dsafe_ptr.h31 void operator()(TF_Tensor* p) const { TF_DeleteTensor(p); } in operator()
/external/tensorflow/tensorflow/cc/experimental/base/public/
Dtensor.h122 void operator()(TF_Tensor* p) const { TF_DeleteTensor(p); } in operator()

12