Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for convertEncoding (0.51 sec)

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

        addArgumentMaterialization(MaterializeIllegalCast);
        addSourceMaterialization(MaterializeIllegalCast);
        addTargetMaterialization(MaterializeIllegalCast);
      }
    
      Attribute convertEncoding(Attribute attr) const final {
        LLVM_DEBUG(llvm::dbgs() << "Converting encoding.\n" << attr << '\n');
        // Must be VHLO encoding, or convertible to VHLO encoding.
        if (attr.getDialect().getNamespace() ==
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

        });
        addConversion([](mlir::stablehlo::TokenType token) -> mlir::Type {
          return mlir::vhlo::TokenV1Type::get(token.getContext());
        });
        addBuiltinToVhloConversions();
      }
    
      mlir::Attribute convertEncoding(mlir::Attribute attr) const final {
        // Must be VHLO encoding, or convertible to VHLO encoding.
        if (attr.getDialect().getNamespace() ==
            mlir::vhlo::VhloDialect::getDialectNamespace())
          return attr;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top