Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Hinsu (0.03 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

      // to empty elements attribute. This is restricted to the numerical element
      // types as the DenseElementsAttr only supports numerical and string types.
      // TODO(hinsu): Handle ops that have one of the results empty for constant
      // propagation.
      bool has_empty_numerical_results =
          llvm::all_of(inst->getResultTypes(), [](Type ty) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

    /// list.
    void PopulateLegalizeTfPatterns(MLIRContext* context,
                                    RewritePatternSet* patterns);
    
    // Populates TF to MHLO legalization for some of the quantization ops.
    //
    // TODO(hinsu): Remove this once we combine quantized and non quantized op
    // legalization in the ODML conversion pipeline.
    void PopulateLegalizeTfQuantizationPatterns(MLIRContext* context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

          return success();
        }
    
        // Extract the constant cond value.
        DenseElementsAttr cond;
        if (!matchPattern(op.getCond(), m_Constant(&cond))) return failure();
    
        // TODO(hinsu): Handle constants that are not scalar booleans.
        auto cond_type = mlir::dyn_cast<RankedTensorType>(cond.getType());
        if (!cond_type || !cond_type.getShape().equals({}) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top