- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Treat (0.15 sec)
-
tensorflow/c/eager/gradients.cc
absl::Span<AbstractTensorHandle*> result) const { if (gradient_function == nullptr) { return errors::InvalidArgument( "Provided null gradient_function for '", op_type, "'.\n", "If the intent is to treat this op as non-differentiable consider " "using RegisterNotDifferentiable or " "NotDifferentiableGradientFunction."); } return gradient_function->Compute(ctx_, output_gradients, result); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients_test.cc
/*use_function=*/!std::get<2>(GetParam())); ASSERT_EQ(error::INVALID_ARGUMENT, s.code()); ASSERT_EQ( "Provided null gradient_function for 'Neg'.\nIf the intent is to treat " "this op as non-differentiable consider using RegisterNotDifferentiable " "or NotDifferentiableGradientFunction.", s.message()); ASSERT_EQ(nullptr, outputs[0]); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0)