Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReducedShapeHelper (0.13 sec)

  1. tensorflow/cc/gradients/grad_helper.h

    // axes: 1-D Tensor, the reduction axes.
    //   Note that the reduction indices are in the range
    //   -rank(input_shape), rank(input_shape)
    // returns a 1-D Tensor, the output shape as if keep_dims were set to True.
    Output ReducedShapeHelper(const Scope& scope, const Output& input_shape,
                              const Output& reduction_axes);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/grad_helper.cc

    using tensorflow::ops::Const;
    using tensorflow::ops::DynamicStitch;
    using tensorflow::ops::Mod;
    using tensorflow::ops::OnesLike;
    using tensorflow::ops::Range;
    using tensorflow::ops::Size;
    
    Output ReducedShapeHelper(const Scope& scope, const Output& input_shape,
                              const Output& reduction_axes) {
      auto zero = Const(scope, 0);
      auto one = Const(scope, 1);
    
      // Running example in comments
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top