- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 598 for Toutputs (0.08 sec)
-
tensorflow/c/c_api.cc
} return outputs; } void TFOutputsFromOutputs(const std::vector<tensorflow::Output>& outputs, TF_Output* tf_outputs) { for (int i = 0; i < outputs.size(); i++) { tf_outputs[i].oper = ToOperation(outputs[i].node()); tf_outputs[i].index = outputs[i].index(); } } #endif // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
* * A =[[0, 1],[1, 0]] * B =[[1, 0],[0, 1]] * * output1, output2, output3 = two_adds_and_mm(A, B) * * We expect outputs: * * output1 = [[1, 1],[1, 1]] * output2 = [[2, 0],[0, 2]] * output3 = [[2, 2],[2, 2]] * */ // Build eager context. TFE_ContextOptions* opts = TFE_NewContextOptions();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
output_tensors->reserve(noutputs); for (int i = 0; i < noutputs; ++i) { Node* node = outputs[i].oper ? &outputs[i].oper->node : nullptr; int idx = outputs[i].index; TF_RETURN_WITH_CONTEXT_IF_ERROR( fn_body->graph.IsValidOutputTensor(node, idx), "Encountered while processing output ", i, " from function '", fn_name, "'"); TF_RETURN_WITH_CONTEXT_IF_ERROR(ValidateNonRefOutput(node, idx),
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
TF_RETURN_IF_ERROR( RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function)); AbstractTensorHandlePtr fPlus(f_outputs[0]); // Get f(theta - eps): theta_inputs[input_index] = thetaMinus.get(); TF_RETURN_IF_ERROR( RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function)); AbstractTensorHandlePtr fMinus(f_outputs[0]);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/c_api.h
// noutputs - number of elements in `outputs` array // outputs - array of TF_Outputs that specify the outputs of the function. // 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
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
} inputs_.push_back(t->output_); *output = tensorflow::down_cast<TracingTensorHandle*>(outputs[0]); return absl::OkStatus(); } absl::Status Finalize(OutputList* outputs, AbstractFunction** f) override { std::vector<TF_Output> graph_outputs; graph_outputs.reserve(outputs->outputs.size()); for (auto* abstract_output : outputs->outputs) { GraphTensor* output = dyn_cast<GraphTensor>(abstract_output);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
VLOG(1) << "Running the dequeue op"; TF_Output output{dequeue_op, 0}; TF_Tensor* ret; TF_SessionRun(session, /*run_options*/ nullptr, // input related parameters /*inputs*/ nullptr, /*input_values*/ nullptr, /*ninputs*/ 0, // output related parameters /*outputs*/ &output, /*output_values*/ &ret, /*noutputs*/ 1,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
const std::vector<IOSpec>& outputs) { const OpDef& signature = fdef.signature(); ASSERT_EQ(outputs.size(), signature.output_arg_size()); for (int i = 0; i < outputs.size(); ++i) { const OpDef::ArgDef& arg = signature.output_arg(i); const IOSpec& out = outputs[i]; if (out.second != DT_INVALID) { ASSERT_EQ(arg.type(), out.second)
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
// // This is a no-op if the tensor is already being watched either from an // earlier call to `GradientTape::Watch` or being an output of an op with // watched inputs. void Watch(const AbstractTensorHandle*); // Records an operation with given inputs and outputs // on the tape and marks all its outputs as watched if at // least one input of the op is watched and has a trainable dtype.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 6.9K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs, ninputs, grad_inputs, s_, grad_outputs); } else { TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs, ninputs, nullptr, s_, grad_outputs); } } void BuildErrorGraph(TF_Output* inputs, TF_Output* outputs) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)