Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getReducer (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        SmallVector<Type> result_types{op.getResult().getType()};
        ReplaceTfOpWithNewOp<TF::XlaVariadicReduceV2Op>(
            rewriter, op, result_types, inputs, init_values,
            op.getDimensionsToReduce(), op.getReducer());
        return ::mlir::success();
      };
    };
    
    void XlaReduceOp::getCanonicalizationPatterns(RewritePatternSet &results,
                                                  MLIRContext *context) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        } else if (auto xla_variadic_reduce_v2_op =
                       dyn_cast<TF::XlaVariadicReduceV2Op>(op)) {
          return propagate_shape_to(xla_variadic_reduce_v2_op.getReducer());
        } else if (auto xla_variadic_sort_op =
                       dyn_cast<TF::XlaVariadicSortOp>(op)) {
          return propagate_shape_to(xla_variadic_sort_op.getComparator());
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      LogicalResult matchAndRewrite(TF::XlaVariadicReduceV2Op op,
                                    PatternRewriter &rewriter) const override {
        Location loc = op.getLoc();
    
        mlir::SymbolRefAttr func = op.getReducer();
        auto func_op = cast<mlir::func::FuncOp>(SymbolTable::lookupSymbolIn(
            op->getParentOfType<mlir::ModuleOp>(), func));
        auto func_ty = func_op.getFunctionType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top