- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RETURN_FAILURE_IF_ERROR (0.29 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc
Tensor tensor; RETURN_FAILURE_IF_ERROR(ConvertToTensor(operand, &tensor)); TF_Tensor* tf_tensor = TF_TensorFromTensor(tensor, &status->status); RETURN_FAILURE_IF_ERROR(status); auto clean_tensor = MakeCleanup([tf_tensor] { TF_DeleteTensor(tf_tensor); }); TFE_TensorHandle* input_handle = TFE_NewTensorHandle(tf_tensor, status); RETURN_FAILURE_IF_ERROR(status); auto clean_input_handle =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 13 06:02:14 UTC 2023 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc
fallback_state.process_function_library_runtime()); RETURN_FAILURE_IF_ERROR(runner.status()); VLOG(1) << "Start to evaluate node: " << node_def->get()->DebugString(); std::vector<tensorflow::Tensor> inputs; // Adds inputs to the TF operation. for (const ElementsAttr& operand : operands) { tensorflow::Tensor tensor; RETURN_FAILURE_IF_ERROR(tensorflow::ConvertToTensor(operand, &tensor));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.3K bytes - Viewed (0)