Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EinsumGetBcastSubshape (0.22 sec)

  1. tensorflow/cc/gradients/linalg_grad.cc

      // 'ab...c' and shape of rank 10; the range [3:-1] denotes the broadcasted
      // axes.
      int bx_start, by_start;
      absl::optional<int> bx_end, by_end;
      std::tie(bx_start, bx_end) = EinsumGetBcastSubshape(x_subs);
      std::tie(by_start, by_end) = EinsumGetBcastSubshape(y_subs);
    
      // Sum the gradient across the broadcasted axes.
      auto args = internal::BroadcastGradientArgs(
          scope, Slice1dHelper(scope, x_shape, bx_start, bx_end),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
Back to top