Searched refs:Safe_TF_TensorPtr (Results 1 – 9 of 9) sorted by relevance
26 Status TF_TensorToMaybeAliasedPyArray(Safe_TF_TensorPtr tensor,29 Status TF_TensorToPyArray(Safe_TF_TensorPtr tensor, PyObject** out_ndarray);39 Safe_TF_TensorPtr* ret);
20 Safe_TF_TensorPtr make_safe(TF_Tensor* tensor) { in make_safe()21 return Safe_TF_TensorPtr(tensor); in make_safe()
50 using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, detail::TFTensorDeleter>; variable51 Safe_TF_TensorPtr make_safe(TF_Tensor* tensor);
404 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()
689 Safe_TF_TensorPtr tf_tensor = make_safe(static_cast<TF_Tensor*>(nullptr)); in NumpyToTFE_TensorHandle()
43 using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, TFTensorDeleter>; typedef71 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()
42 using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, TFTensorDeleter>; typedef57 Safe_TF_TensorPtr safe_input_ptr(input); in MergeSummaryOp_Compute()88 Safe_TF_TensorPtr summary_tensor(TF_AllocateOutput( in MergeSummaryOp_Compute()
74 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()
63 tensorflow::Safe_TF_TensorPtr tensor = nullptr; in TFE_TensorHandleToNumpy()