/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test_util.cc | 38 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 …]
|
D | mnist_gradients_test.cc | 135 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()
|
D | gradient_checker.cc | 62 TF_DeleteTensor(model_out_tensor); in RunAndMaybeSum() 192 TF_DeleteTensor(grad_tensor); in CalcNumericalGrad() 199 TF_DeleteTensor(theta_tensor); in CalcNumericalGrad()
|
D | c_api_test.cc | 195 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 …]
|
D | gradients_util.cc | 50 TF_DeleteTensor(t); in ScalarTensorHandleHelper() 64 TF_DeleteTensor(t); in TensorHandleWithDimsFloatHelper() 78 TF_DeleteTensor(t); in TensorHandleWithDimsIntHelper()
|
D | c_api_unified_experimental_test.cc | 100 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()
|
D | c_api_experimental_test.cc | 285 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()
|
D | c_api_distributed_test.cc | 218 TF_DeleteTensor(t); in TestFunctionWithPackedInput() 402 TF_DeleteTensor(t); in TEST() 530 TF_DeleteTensor(t); in TestDistributedFunctionCancellation()
|
/external/tensorflow/tensorflow/c/kernels/ |
D | summary_op.cc | 54 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()
|
D | bitcast_op.cc | 130 TF_DeleteTensor(output); in BitcastOp_Compute() 137 TF_DeleteTensor(tensor); in BitcastOp_Compute()
|
D | tensor_shape_utils_test.cc | 34 ~TF_TensorWrapper() { TF_DeleteTensor(tf_tensor); } in ~TF_TensorWrapper()
|
/external/tensorflow/tensorflow/c/experimental/gradients/ |
D | grad_test_helper.cc | 70 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/ |
D | saved_model_api_test.cc | 143 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/ |
D | c_api_experimental_test.cc | 233 TF_DeleteTensor(scalarTensor); in TEST_F() 234 TF_DeleteTensor(tensor_1X1X6); in TEST_F() 235 TF_DeleteTensor(tensor_1X6); in TEST_F()
|
D | c_api_test.cc | 145 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 …]
|
D | c_test_util.cc | 148 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()
|
D | kernels_test.cc | 544 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()
|
D | tf_tensor.h | 111 TF_CAPI_EXPORT extern void TF_DeleteTensor(TF_Tensor*);
|
D | c_test.c | 44 TF_DeleteTensor(input); in compute()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | eval_util.cc | 112 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/ |
D | parallel_device_testlib.cc | 136 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()
|
D | parallel_device_testlib.h | 143 std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> actual_value( in ExpectScalarEq() 144 TFE_TensorHandleResolve(handle, status.get()), TF_DeleteTensor); in ExpectScalarEq()
|
D | parallel_device_lib.h | 228 std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor( in ScalarsFromSequence() 236 TF_DeleteTensor); in ScalarsFromSequence()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | safe_ptr.h | 31 void operator()(TF_Tensor* p) const { TF_DeleteTensor(p); } in operator()
|
/external/tensorflow/tensorflow/cc/experimental/base/public/ |
D | tensor.h | 122 void operator()(TF_Tensor* p) const { TF_DeleteTensor(p); } in operator()
|