Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for parseTypes (0.15 sec)

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

      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cpp.inc"
          >();
    }
    
    /// Parse a type registered to this dialect.
    Type FallbackDialect::parseType(DialectAsmParser &parser) const {
      StringRef keyword;
      if (parser.parseKeyword(&keyword)) return Type();
    
      if (keyword == "tf_tensor") return TFTensorType::get(getContext());
    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. cmd/batch-job-common-types.go

    func (b BatchJobSnowball) Validate() error {
    	if *b.Batch <= 0 {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  "batch number should be non positive zero",
    		}
    	}
    	_, err := humanize.ParseBytes(*b.SmallerThan)
    	if err != nil {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  err.Error(),
    		}
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverter.java

            this.moduleIdentifierFactory = moduleIdentifierFactory;
        }
    
        /**
         * Empty String for either group or module name is not allowed.
         */
        @Override
        protected ComponentSelector parseType(String notation) {
            assert notation != null;
            String[] split = notation.split(":");
    
            if (split.length < 2 || split.length > 3) {
                throw new UnsupportedNotationException(notation);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ComponentIdentifierParserFactory.java

            StringNotationConverter() {
                super(String.class);
            }
    
            @Override
            protected ModuleComponentIdentifier parseType(String notation) {
                String[] parts = notation.split(":");
                if (parts.length != 3) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/ir/tfr_ops.h

      Operation *materializeConstant(OpBuilder &builder, Attribute value, Type type,
                                     Location loc) override;
    
      // Parse a type registered to this dialect.
      Type parseType(DialectAsmParser &parser) const override;
    
      // Prints a type registered to this dialect.
      void printType(Type ty, DialectAsmPrinter &os) const override;
    };
    
    }  // namespace TFR
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 01 14:00:36 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h

     public:
      static StringRef getDialectNamespace() { return "tf_executor"; }
      explicit TensorFlowExecutorDialect(MLIRContext *context);
    
      // Parses a type registered to this dialect.
      Type parseType(DialectAsmParser &parser) const override;
    
      // Prints a type registered to this dialect.
      void printType(Type type, DialectAsmPrinter &os) const override;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.cpp.inc"
          >();
    }
    
    // Parse a type registered to this dialect.
    mlir::Type MlrtDialect::parseType(mlir::DialectAsmParser &parser) const {
      llvm::StringRef keyword;
      if (parser.parseKeyword(&keyword)) return mlir::Type();
    
      if (keyword == "future") return FutureType::get(getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/DependencyConstraintNotationParser.java

                super(ProjectDependency.class);
                this.instantiator = instantiator;
            }
    
            @Override
            protected DependencyConstraint parseType(ProjectDependency notation) {
                return instantiator.newInstance(DefaultProjectDependencyConstraint.class, notation);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParserFactory.java

            StringNotationParser(boolean versionIsRequired) {
                super(CharSequence.class);
                this.versionIsRequired = versionIsRequired;
            }
    
            @Override
            protected Capability parseType(CharSequence notation) {
                String stringNotation = notation.toString();
                String[] parts = stringNotation.split(":");
                if (parts.length != 3) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

      static StringRef getDialectNamespace() { return "tf"; }
    
      // Overrides to redirect to tf_type dialect.
      Attribute parseAttribute(DialectAsmParser &parser, Type type) const override;
      Type parseType(DialectAsmParser &parser) const override;
    
      // Gradient attribute ("tf.gradient") in the list of NamedAttributes in a
      // function references to its gradient function. This attribute in TensorFlow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top