Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for reduction_indices (0.31 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    LogicalResult rewriteNonMatchInitValue(mhlo::ReduceOp reduce_op, Value input,
                                           TF::ConstOp reduction_indices,
                                           ConversionPatternRewriter& rewriter) {
      Value reduce_result = rewriter.create<TfReduceOp>(
          reduce_op.getLoc(), reduce_op.getType(0), input, reduction_indices,
          /*keep_dim=*/rewriter.getBoolAttr(false));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    void MaxOp::build(OpBuilder& builder, OperationState& result, Value input,
                      Value reduction_indices, BoolAttr keep_dims) {
      Type out_ty = InferReductionOpType(input, reduction_indices, keep_dims);
      build(builder, result, out_ty, input, reduction_indices, keep_dims);
    }
    
    //===----------------------------------------------------------------------===//
    // MaximumOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    void SumOp::build(OpBuilder &builder, OperationState &result, Value input,
                      Value reduction_indices, BoolAttr keep_dims) {
      Type out_ty = InferReductionOpType(input, reduction_indices, keep_dims);
      build(builder, result, out_ty, input, reduction_indices, keep_dims);
    }
    
    // TODO: Templatize this fold for all reduction ops.
    OpFoldResult SumOp::fold(FoldAdaptor) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    `axis`. If `keep_dims` is true, the reduced dimensions are
    retained with length 1.
      }];
    
      let arguments = (ins
        TFL_BoolTensor:$input,
        TFL_I32Tensor:$reduction_indices,
    
        DefaultValuedOptionalAttr<BoolAttr, "false">:$keep_dims
      );
    
      let results = (outs
        TFL_BoolTensor:$output
      );
    
      let hasOptions = 1;
      let customOption = "ReducerOptions";
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top