Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for addInterfaces (0.21 sec)

  1. tensorflow/compiler/mlir/tf_mlir_reduce_main.cc

      mlir::DialectRegistry registry;
      mlir::RegisterCommonToolingDialects(registry);
    
      registry.addExtension(
          +[](mlir::MLIRContext *ctx, mlir::TF::TensorFlowDialect *dialect) {
            dialect->addInterfaces<TFReductionPatternInterface>();
          });
    
      mlir::MLIRContext context(registry);
    
      return failed(mlirReduceMain(argc, argv, context));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 21 20:13:57 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

        : mlir::Dialect(/*name=*/"mlrt", context,
                        mlir::TypeID::get<MlrtDialect>()) {
      addTypes<FutureType>();
      addTypes<PromiseType>();
      addTypes<AsyncHandleType>();
      addInterfaces<MlrtInlinerInterface>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.cpp.inc"
          >();
    }
    
    // Parse a type registered to this dialect.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

    TensorflowMlrtDialect::TensorflowMlrtDialect(mlir::MLIRContext *context)
        : mlir::Dialect(/*name=*/"tf_mlrt", context,
                        mlir::TypeID::get<TensorflowMlrtDialect>()) {
      addTypes<TFTensorType, TFDeviceType>();
      addInterfaces<TensorflowMlrtInlinerInterface>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cpp.inc"
          >();
    
      addOperations<
    #define GET_OP_LIST
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

      context->getOrLoadDialect<compiler::TFRTDialect>();
      context->getOrLoadDialect<corert::CoreRTDialect>();
    
      allowUnknownTypes();
    
      allowUnknownOperations();
    
      addInterfaces<FallbackInlinerInterface>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cpp.inc"
          >();
    }
    
    static Type GetChainType(Builder *builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_all_ops.cc.inc"
          >();
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc.inc"
          >();
      addInterfaces<TFInlinerInterface, TFConstantFoldInterface>();
      fallback_effect_op_interface_ =
          new TensorFlowRegistryEffectInterfaceFallback();
    
      // Support unknown operations because not all TensorFlow operations are
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

      addTypes<TFRTensorType, TFRTensorListType, TFRAttrType>();
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc.inc"
          >();
    
      addInterfaces<TFRInlinerInterface>();
    }
    
    Operation *TFRDialect::materializeConstant(OpBuilder &builder, Attribute value,
                                               Type type, Location loc) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

                  TypeID::get<TensorFlowDeviceDialect>()) {
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc.inc"
          >();
    
      addInterfaces<TFInlinerInterface>();
    }
    
    //===----------------------------------------------------------------------===//
    // tf_device.cluster_func
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

                  TypeID::get<TensorFlowExecutorDialect>()) {
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc.inc"
          >();
    
      addInterfaces<TensorFlowExecutorInlinerInterface,
                    TensorFlowExecutorDialectFoldInterface>();
    
      addTypes<ControlType, TokenType>();
    }
    
    Type TensorFlowExecutorDialect::parseType(DialectAsmParser &parser) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        def "nothing should be reported if new interface is neither internal nor incubating"() {
            when:
            newBase.addInterface(stablePublicInterface)
    
            then:
            noViolation(rule)
        }
    
        def 'adding an #type interface can be reported'() {
            given:
            newBase.addInterface(interfaces[type])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canUseThirdPartyAstTransform/src/main/java/MagicInterfaceTransform.java

    @GroovyASTTransformation
    public class MagicInterfaceTransform implements ASTTransformation {
        public void visit(ASTNode[] nodes, SourceUnit source) {
            ClassNode clazz = (ClassNode) nodes[1];
            clazz.addInterface(new ClassNode(Marker.class));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 514 bytes
    - Viewed (0)
Back to top