- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for output_names (0.1 seconds)
-
tensorflow/c/c_api_function.cc
if (TF_GetCode(status) != TF_OK) return nullptr; // Process output names. std::vector<string> output_names_vec; if (output_names) { output_names_vec.reserve(noutputs); for (int i = 0; i < noutputs; ++i) { output_names_vec.push_back(string(output_names[i])); } } // Process control output names. std::vector<string> control_output_names_vec; if (control_output_names) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 16:27:48 GMT 2024 - 13.7K bytes - Click Count (0) -
tensorflow/c/c_api.cc
} std::vector<string> output_names(noutputs); for (int i = 0; i < noutputs; ++i) { output_names[i] = c_output_names[i]; } std::vector<string> target_oper_names(ntargets); for (int i = 0; i < ntargets; ++i) { target_oper_names[i] = c_target_oper_names[i]; } TF_Run_Helper(s->session, nullptr, run_options, input_pairs, output_names,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
tensorflow/c/c_api_function_test.cc
const std::vector<TF_Operation*>& inputs, const std::vector<TF_Operation*>& outputs, const std::vector<std::string>& output_names, bool expect_failure = false) { DefineT(num_opers, opers, ToOutput(inputs), ToOutput(outputs), output_names, expect_failure); } // Caller must delete[] the returned value static const char** ToArray(const std::vector<std::string>& strs) {Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1) -
tensorflow/c/c_api.h
// If `noutputs` is zero (the function returns no outputs), `outputs` // can be null. `outputs` can contain the same tensor more than once. // output_names - The names of the function's outputs. `output_names` array // must either have the same length as `outputs` // (i.e. `noutputs`) or be null. In the former case,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/c_api_experimental_test.cc
TF_Output outputs[] = {{neg, 0}}; *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1, /*opers=*/nullptr, 1, inputs, 1, outputs, /*output_names=*/nullptr, /*opts=*/nullptr, description, s.get()); ASSERT_EQ(TF_OK, TF_GetCode(s.get())) << TF_Message(s.get()); ASSERT_NE(*func, nullptr); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 13.1K bytes - Click Count (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual const tensorflow::OpDef* OpDef() const = 0; virtual absl::Status InputLength(const char* input_name, int* length) = 0; virtual absl::Status OutputLength(const char* output_name, int* length) = 0; // Set stack trace to be used for potential async error reporting. virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0; virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 3.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // Returns the length (number of tensors) of the output argument `output_name` // found in the provided `op`. TF_CAPI_EXPORT extern int TFE_OpGetOutputLength(TFE_Op* op, const char* output_name, TF_Status* status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
return ret; } TF_CAPI_EXPORT extern int TFE_OpGetOutputLength(TFE_Op* op, const char* output_name, TF_Status* status) { int ret = -1; status->status = tensorflow::unwrap(op)->OutputLength(output_name, &ret); return ret; } void TFE_Execute(TFE_Op* op, TFE_TensorHandle** retvals, int* num_retvals,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
const auto signature_def = signature_def_map.at("regress_x_to_y"); const std::string input_name = signature_def.inputs().at(tensorflow::kRegressInputs).name(); const std::string output_name = signature_def.outputs().at(tensorflow::kRegressOutputs).name(); // Write {0, 1, 2, 3} as tensorflow::Example inputs. Tensor input(tensorflow::DT_STRING, TensorShape({4}));
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0)