- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for OnesLike (0.05 sec)
-
tensorflow/c/c_api_test.cc
if (grad_inputs_provided) { const float const3_val[] = {1.0, 1.0, 1.0, 1.0}; const3 = FloatConst2x2(expected_graph_, s_, const3_val, "GradInputs"); } else { const3 = OnesLike(expected_graph_, s_, matmul, "gradients/OnesLike"); } TF_Operation* matmul1 = MatMul(expected_graph_, s_, const3, const1, "gradients/MatMul", false, true);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0) -
tensorflow/c/c_api.h
// `dx` are used as initial gradients (which represent the symbolic partial // derivatives of some loss function `L` w.r.t. `y`). // `dx` must be nullptr or have size `ny`. // If `dx` is nullptr, the implementation will use dx of `OnesLike` for all // shapes in `y`. // The partial derivatives are returned in `dy`. `dy` should be allocated to // size `nx`. // // Gradient nodes are automatically named under the "gradients/" prefix. To
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)