- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for BatchToSpaceGrad (0.11 sec)
-
tensorflow/cc/gradients/array_grad.cc
grad_outputs->push_back(NoGradient()); grad_outputs->push_back(NoGradient()); return scope.status(); } REGISTER_GRADIENT_OP("SpaceToBatchND", SpaceToBatchNDGrad); Status BatchToSpaceGrad(const Scope& scope, const Operation& op, const std::vector<Output>& grad_inputs, std::vector<Output>* grad_outputs) { int block_size; TF_RETURN_IF_ERROR(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad_test.cc
auto paddings = Const(scope_, {{0, 0}, {2, 0}}); TensorShape y_shape({8, 1, 3, 1}); auto y = SpaceToBatchND(scope_, x, block_shape, paddings); RunTest(x, x_shape, y, y_shape); } TEST_F(ArrayGradTest, BatchToSpaceGrad) { TensorShape x_shape({4, 2, 2, 1}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); auto paddings = Const(scope_, {{1, 1}, {1, 1}}); TensorShape y_shape({1, 2, 2, 1});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 19.3K bytes - Viewed (0)