- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for grad_outputs (0.07 sec)
-
tensorflow/c/eager/gradients.h
// absl::Span<AbstractTensorHandle* const> grad_inputs, // absl::Span<AbstractTensorHandle*> grad_outputs) override { // grad_outputs[0] = grad_inputs[0]; // grad_outputs[1] = grad_inputs[0]; // grad_outputs[0]->Ref(); // grad_outputs[1]->Ref(); // return OkStatus(); // } // ~AddGradientFunction() override {} // }; //
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
RunGraphsAndCompareOutputs(grad_outputs, expected_grad_outputs); } void TestGradientsError(bool grad_inputs_provided) { TF_Output inputs[1]; TF_Output outputs[1]; TF_Output grad_outputs[1]; BuildErrorGraph(inputs, outputs); AddGradients(grad_inputs_provided, nullptr, inputs, 1, outputs, 1, grad_outputs); string expected_msg =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
"been implemented yet."); } graph_outputs.push_back(output->output_); } auto s = TF_NewStatus(); auto func = TF_GraphToFunction(graph_.get(), name_.data(), 0, -1, nullptr, inputs_.size(), inputs_.data(), graph_outputs.size(), graph_outputs.data(), nullptr, nullptr, name_.data(), s);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0)