Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DialectAsmPrinter (0.16 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc

      parser.emitError(parser.getNameLoc(), "unknown type: ") << keyword;
      return Type();
    }
    
    /// Print a type registered to this dialect.
    void FallbackDialect::printType(Type type, DialectAsmPrinter &os) const {
      if (mlir::isa<TFTensorType>(type)) {
        os << "tf_tensor";
        return;
      }
    
      if (mlir::isa<TFAllocatorType>(type)) {
        os << "tf_allocator";
        return;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

      return mlir::Type();
    }
    
    // Print a type registered to this dialect.
    void TensorflowMlrtDialect::printType(mlir::Type type,
                                          mlir::DialectAsmPrinter &os) const {
      if (mlir::isa<TFTensorType>(type)) {
        os << "tensor";
        return;
      }
    
      llvm_unreachable("unexpected tf_mlrt type kind");
    }
    
    }  // namespace tf_mlrt
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

      return mlir::Type();
    }
    
    // Print a type registered to this dialect.
    void MlrtDialect::printType(mlir::Type type,
                                mlir::DialectAsmPrinter &os) const {
      if (mlir::isa<FutureType>(type)) {
        os << "future";
        return;
      }
    
      if (mlir::isa<PromiseType>(type)) {
        os << "promise";
        return;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      parser.emitError(parser.getNameLoc())
          << "unknown tf_executor type: " << data_type;
      return nullptr;
    }
    
    void TensorFlowExecutorDialect::printType(Type type,
                                              DialectAsmPrinter &os) const {
      if (mlir::isa<ControlType>(type)) {
        os << "control";
        return;
      }
      if (mlir::isa<TokenType>(type)) {
        os << "token";
        return;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      // more efficient computationally.
      bool shouldMaterializeInto(Region* region) const final {
        return isa<WhileOp>(region->getParentOp());
      }
    };
    
    void TFLDialect::printType(Type type, DialectAsmPrinter& os) const {
      if (type.isa<ControlType>()) {
        os << "control";
        return;
      }
      os << "<unknown TFL type>";
    }
    
    Type TFLDialect::parseType(DialectAsmParser& parser) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top