Home
last modified time | relevance | path

Searched refs:out_status (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/python/lib/io/
Dfile_io.i35 inline void FileExists(const string& filename, TF_Status* out_status) { in FileExists() argument
38 Set_TF_Status_from_Status(out_status, status); in FileExists()
43 TF_Status* out_status) { in FileExists() argument
47 Set_TF_Status_from_Status(out_status, status); in FileExists()
51 inline void DeleteFile(const string& filename, TF_Status* out_status) { in DeleteFile() argument
54 Set_TF_Status_from_Status(out_status, status); in DeleteFile()
58 string ReadFileToString(const string& filename, TF_Status* out_status) { in ReadFileToString() argument
63 Set_TF_Status_from_Status(out_status, status); in ReadFileToString()
69 TF_Status* out_status) { in WriteStringToFile() argument
73 Set_TF_Status_from_Status(out_status, status); in WriteStringToFile()
[all …]
Dpy_record_writer.cc32 TF_Status* out_status) { in New() argument
36 Set_TF_Status_from_Status(out_status, s); in New()
52 TF_Status* out_status) { in WriteRecord() argument
54 TF_SetStatus(out_status, TF_FAILED_PRECONDITION, in WriteRecord()
60 Set_TF_Status_from_Status(out_status, s); in WriteRecord()
64 void PyRecordWriter::Flush(TF_Status* out_status) { in Flush() argument
66 TF_SetStatus(out_status, TF_FAILED_PRECONDITION, in Flush()
77 Set_TF_Status_from_Status(out_status, s); in Flush()
82 void PyRecordWriter::Close(TF_Status* out_status) { in Close() argument
86 Set_TF_Status_from_Status(out_status, s); in Close()
[all …]
Dpy_record_writer.h42 TF_Status* out_status);
45 void WriteRecord(tensorflow::StringPiece record, TF_Status* out_status);
46 void Flush(TF_Status* out_status);
47 void Close(TF_Status* out_status);
Dpy_record_reader.cc37 TF_Status* out_status) { in New() argument
41 Set_TF_Status_from_Status(out_status, s); in New()
Dpy_record_reader.h41 TF_Status* out_status);
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.cc63 TF_Status* out_status, PyObjectVector* out_values, in TF_Run_wrapper_helper() argument
67 Set_TF_Status_from_Status(out_status, in TF_Run_wrapper_helper()
85 Set_TF_Status_from_Status(out_status, in TF_Run_wrapper_helper()
94 Set_TF_Status_from_Status(out_status, s); in TF_Run_wrapper_helper()
115 run_outputs, out_status); in TF_Run_wrapper_helper()
121 out_status); in TF_Run_wrapper_helper()
129 if (TF_GetCode(out_status) != TF_OK) { in TF_Run_wrapper_helper()
147 Set_TF_Status_from_Status(out_status, s); in TF_Run_wrapper_helper()
165 const NameVector& target_nodes, TF_Status* out_status, in TF_Run_wrapper() argument
168 target_nodes, out_status, out_values, run_outputs); in TF_Run_wrapper()
[all …]
Dtf_session_helper.h62 const NameVector& target_nodes, TF_Status* out_status,
69 TF_Status* out_status);
72 int64_t* out_handle, TF_Status* out_status);
77 TF_Status* out_status,
81 PyObject* feed_values, TF_Status* out_status,
86 int64_t handle, TF_Status* out_status);
88 TF_Status* out_status);
100 const NameVector& target_nodes, TF_Status* out_status,
117 TF_Status* out_status, PyObjectVector* out_values);
121 const NameVector& containers, TF_Status* out_status);
Ddevice_lib.i47 const tensorflow::ConfigProto& config, TF_Status* out_status) { in ListDevicesWithSessionConfig() argument
55 Set_TF_Status_from_Status(out_status, status); in ListDevicesWithSessionConfig()
63 out_status, in ListDevicesWithSessionConfig()
74 std::vector<string> ListDevices(TF_Status* out_status) { in ListDevices() argument
76 return ListDevicesWithSessionConfig(session_config, out_status); in ListDevices()
94 std::vector<string> ListDevices(TF_Status* out_status);
96 const tensorflow::ConfigProto& config, TF_Status* out_status);
/external/tensorflow/tensorflow/python/util/
Dtransform_graph.i41 TF_Status* out_status) { in TransformGraphWithStringInputs() argument
44 Set_TF_Status_from_Status(out_status, tensorflow::errors::InvalidArgument( in TransformGraphWithStringInputs()
54 tensorflow::Set_TF_Status_from_Status(out_status, parse_status); in TransformGraphWithStringInputs()
65 tensorflow::Set_TF_Status_from_Status(out_status, transform_status); in TransformGraphWithStringInputs()
70 Set_TF_Status_from_Status(out_status, tensorflow::errors::InvalidArgument( in TransformGraphWithStringInputs()
74 Set_TF_Status_from_Status(out_status, tensorflow::Status::OK()); in TransformGraphWithStringInputs()
84 TF_Status* out_status);
Dpy_checkpoint_reader.i107 TF_Status* out_status) { in CheckpointReader_GetTensor() argument
110 reader->GetTensor(name, &tensor, out_status); in CheckpointReader_GetTensor()
111 if (TF_GetCode(out_status) == TF_OK) { in CheckpointReader_GetTensor()
115 Set_TF_Status_from_Status(out_status, status); in CheckpointReader_GetTensor()
126 TF_Status* out_status);
/external/tensorflow/tensorflow/python/grappler/
Dcluster.i134 bool disable_detailed_stats, TF_Status* out_status) { in TF_NewCluster() argument
145 tensorflow::Set_TF_Status_from_Status(out_status, status); in TF_NewCluster()
151 TF_Status* out_status) { in TF_NewVirtualCluster() argument
161 tensorflow::Set_TF_Status_from_Status(out_status, status); in TF_NewVirtualCluster()
319 bool generate_timeline, TF_Status* out_status) { in TF_MeasureCosts() argument
344 tensorflow::Set_TF_Status_from_Status(out_status, status); in TF_MeasureCosts()
375 tensorflow::Set_TF_Status_from_Status(out_status, status); in TF_MeasureCosts()
387 TF_Status* out_status) { in TF_DeterminePeakMemoryUsage() argument
391 tensorflow::Set_TF_Status_from_Status(out_status, status); in TF_DeterminePeakMemoryUsage()
403 tensorflow::Set_TF_Status_from_Status(out_status, status); in TF_DeterminePeakMemoryUsage()
[all …]
Dtf_optimizer.i98 bool verbose, const string& graph_id, TF_Status* out_status) { in TF_OptimizeGraph() argument
106 …TF_SetStatus(out_status, TF_INVALID_ARGUMENT, "Failed to import metagraph, check error log for mor… in TF_OptimizeGraph()
117 tensorflow::Set_TF_Status_from_Status(out_status, status); in TF_OptimizeGraph()
131 const string& graph_id, TF_Status* out_status);
Ditem.i75 bool ignore_user_placement, TF_Status* out_status) { in TF_NewItem() argument
78 out_status, in TF_NewItem()
90 out_status, in TF_NewItem()
94 tensorflow::Set_TF_Status_from_Status(out_status, tensorflow::Status::OK()); in TF_NewItem()
311 bool ignore_user_placement, TF_Status* out_status);
/external/tensorflow/tensorflow/python/training/
Dquantize_training.i25 TF_Status* out_status) { in DoQuantizeTrainingOnGraphDefHelper() argument
32 Set_TF_Status_from_Status(out_status, status); in DoQuantizeTrainingOnGraphDefHelper()
37 Set_TF_Status_from_Status(out_status, in DoQuantizeTrainingOnGraphDefHelper()
54 TF_Status* out_status);
/external/tensorflow/tensorflow/python/
Dpywrap_tfe.i263 %typemap(in, numinputs=0) TF_Status *out_status {
267 %typemap(freearg) (TF_Status* out_status) {
271 %typemap(argout) (TFE_OutputTensorHandles* outputs, TF_Status* out_status) {
300 %typemap(in, numinputs=0) TF_Status *out_status;
305 %typemap(in, numinputs=0) TF_Status *out_status;
306 %typemap(freearg) (TF_Status* out_status);
307 %typemap(argout) (TFE_OutputTensorHandles* outputs, TF_Status* out_status);
/external/tensorflow/tensorflow/c/
Dcheckpoint_reader.cc33 TF_Status* out_status) in CheckpointReader() argument
46 Set_TF_Status_from_Status(out_status, v2_reader_->status()); in CheckpointReader()
55 Set_TF_Status_from_Status(out_status, reader_->status()); in CheckpointReader()
91 TF_Status* out_status) const { in GetTensor()
106 Set_TF_Status_from_Status(out_status, status); in GetTensor()
Dcheckpoint_reader.h42 CheckpointReader(const string& filepattern, TF_Status* out_status);
59 TF_Status* out_status) const;
/external/libavc/encoder/
Dih264e_error.h46 #define SET_ERROR_ON_RETURN(error, severity, out_status, ret_code) \ argument
49 out_status = ((1 << severity) | error);\
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc178 TF_DataType dst_type_enum, TF_Status* out_status) { in EagerCast() argument
182 TFE_Op* op = TFE_NewOp(ctx, op_name, out_status); in EagerCast()
188 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast()
189 TFE_OpSetDevice(op, device_name, out_status); in EagerCast()
190 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast()
191 TFE_OpAddInput(op, handle, out_status); in EagerCast()
192 if (TF_GetCode(out_status) != TF_OK) RETURN_ERROR in EagerCast()
198 TFE_Execute(op, &output, &num_outputs, out_status); in EagerCast()
199 if (TF_GetCode(out_status) != TF_OK || num_outputs != 1 || in EagerCast()
Dpywrap_tfe_src.cc635 TF_Status* out_status) { in SetOpAttrs() argument
639 TF_SetStatus(out_status, TF_INVALID_ARGUMENT, in SetOpAttrs()
654 const TF_AttrType type = TFE_OpGetAttrType(op, key, &is_list, out_status); in SetOpAttrs()
655 if (TF_GetCode(out_status) != TF_OK) return; in SetOpAttrs()
657 if (!SetOpAttrList(ctx, op, key, py_value, type, nullptr, out_status)) in SetOpAttrs()
660 if (!SetOpAttrScalar(ctx, op, key, py_value, type, nullptr, out_status)) in SetOpAttrs()
717 TF_Status* out_status) { in TFE_Py_Execute() argument
718 TFE_Op* op = TFE_NewOp(ctx, op_name, out_status); in TFE_Py_Execute()
719 if (TF_GetCode(out_status) != TF_OK) return; in TFE_Py_Execute()
720 TFE_OpSetDevice(op, device_name, out_status); in TFE_Py_Execute()
[all …]
Dpywrap_tensor.h36 TF_DataType dst_type_enum, TF_Status* out_status);
/external/tensorflow/tensorflow/python/framework/
Dcpp_shape_inference.cc178 TF_Status* out_status) { in RunCppShapeInference() argument
180 TF_SetStatus(out_status, TF_INVALID_ARGUMENT, "Invalid python value"); in RunCppShapeInference()
199 Set_TF_Status_from_Status(out_status, status); in RunCppShapeInference()
Dcpp_shape_inference.h49 TF_Status* out_status);
/external/u-boot/drivers/misc/
Dmxc_ocotp.c238 if (readl(&regs->out_status) & BM_OUT_STATUS_DED) { in fuse_read()
338 if (readl(&regs->out_status) & BM_OUT_STATUS_DED) { in fuse_sense()
416 if (readl(&regs->out_status) & (BM_OUT_STATUS_PROGFAIL | BM_OUT_STATUS_LOCKED)) { in fuse_prog()
443 if (readl(&regs->out_status) & (BM_OUT_STATUS_PROGFAIL | BM_OUT_STATUS_LOCKED)) { in fuse_override()
/external/tensorflow/tensorflow/c/eager/
Dc_api.h323 TF_Status* out_status);
364 const int* num_dims, int num_values, TF_Status* out_status);

12