Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NoValueOp (0.23 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      return {};
    }
    
    //===----------------------------------------------------------------------===//
    // NoValueOp
    //===----------------------------------------------------------------------===//
    
    OpFoldResult NoValueOp::fold(FoldAdaptor) { return getValueAttr(); }
    
    bool NoValueOp::isBuildableWith(Attribute value, Type type) {
      return value.isa<UnitAttr>() && type.isa<NoneType>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    static bool IsConst(Operation* op) {
      return isa<mlir::func::ConstantOp, mlir::arith::ConstantOp, mlir::TF::ConstOp,
                 tfl::ConstOp, tfl::QConstOp, tfl::SparseConstOp,
                 tfl::SparseQConstOp, mlir::TFL::NoValueOp,
                 mlir::stablehlo::ConstantOp, mlir::vhlo::ConstantOpV1>(op);
    }
    
    static bool IsTFResourceOp(Operation* op) {
      for (const auto& operand : op->getOperands()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (2)
Back to top