Home
last modified time | relevance | path

Searched refs:Safe_TF_TensorPtr (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.h26 Status TF_TensorToMaybeAliasedPyArray(Safe_TF_TensorPtr tensor,
29 Status TF_TensorToPyArray(Safe_TF_TensorPtr tensor, PyObject** out_ndarray);
39 Safe_TF_TensorPtr* ret);
Dsafe_ptr.cc20 Safe_TF_TensorPtr make_safe(TF_Tensor* tensor) { in make_safe()
21 return Safe_TF_TensorPtr(tensor); in make_safe()
Dsafe_ptr.h50 using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, detail::TFTensorDeleter>; variable
51 Safe_TF_TensorPtr make_safe(TF_Tensor* tensor);
Dndarray_tensor.cc404 Status TF_TensorToMaybeAliasedPyArray(Safe_TF_TensorPtr tensor, in TF_TensorToMaybeAliasedPyArray()
423 Status TF_TensorToPyArray(Safe_TF_TensorPtr tensor, PyObject** out_ndarray) { in TF_TensorToPyArray()
480 Safe_TF_TensorPtr* ret) { in NdarrayToTensor()
559 Safe_TF_TensorPtr tf_tensor = make_safe(static_cast<TF_Tensor*>(nullptr)); in NdarrayToTensor()
569 Safe_TF_TensorPtr tf_tensor = make_safe(TF_TensorFromTensor(t, &status)); in TensorToNdarray()
Dpy_seq_tensor.cc689 Safe_TF_TensorPtr tf_tensor = make_safe(static_cast<TF_Tensor*>(nullptr)); in NumpyToTFE_TensorHandle()
/external/tensorflow/tensorflow/c/kernels/
Dhistogram_summary_op.cc43 using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, TFTensorDeleter>; typedef
71 Safe_TF_TensorPtr safe_tags_ptr(tags); in HistogramSummaryOp_Compute()
77 Safe_TF_TensorPtr safe_values_ptr(values); in HistogramSummaryOp_Compute()
114 Safe_TF_TensorPtr summary_tensor(TF_AllocateOutput( in HistogramSummaryOp_Compute()
Dmerge_summary_op.cc42 using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, TFTensorDeleter>; typedef
57 Safe_TF_TensorPtr safe_input_ptr(input); in MergeSummaryOp_Compute()
88 Safe_TF_TensorPtr summary_tensor(TF_AllocateOutput( in MergeSummaryOp_Compute()
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.cc74 std::vector<Safe_TF_TensorPtr> inputs_safe; // Used to delete tensors. in TF_Run_wrapper_helper()
136 std::vector<Safe_TF_TensorPtr> tf_outputs_safe; in TF_Run_wrapper_helper()
378 std::vector<Safe_TF_TensorPtr> input_vals_safe; in TF_SessionRun_wrapper_helper()
410 std::vector<Safe_TF_TensorPtr> output_vals_safe; in TF_SessionRun_wrapper_helper()
709 Safe_TF_TensorPtr safe_result_tensor(result_tensor); in TF_TryEvaluateConstant_wrapper()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc63 tensorflow::Safe_TF_TensorPtr tensor = nullptr; in TFE_TensorHandleToNumpy()