Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for reduction_indices (3.7 sec)

  1. tensorflow/cc/gradients/math_grad.cc

      // Running example:
      // input: [[5, 5, 5],
      //         [1, 2, -3]]
      // reduction_indices: [1]
      auto input = op.input(0);
      auto reduction_indices = op.input(1);
    
      // [2, 3]
      auto input_shape = Shape(scope, input);
    
      // [2, 1]
      auto output_shape_kept_dims =
          ReducedShapeHelper(scope, input_shape, reduction_indices);
    
      // for op=min (say)
      // output = [5, -3]
      // y = [[5],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
Back to top