Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for parseTypes (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. internal/config/cache/cache.go

    	cfg.Enable = env.Get(EnvEnable, kvs.GetWithDefault(Enable, DefaultKVS)) == config.EnableOn
    
    	if d := env.Get(EnvBlockSize, kvs.GetWithDefault(BlockSize, DefaultKVS)); d != "" {
    		objectSize, err := humanize.ParseBytes(d)
    		if err != nil {
    			return cfg, err
    		}
    		cfg.BlockSize = int64(objectSize)
    	}
    
    	cfg.Endpoint = env.Get(EnvEndpoint, kvs.GetWithDefault(Endpoint, DefaultKVS))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class.go

    		return Config{}, err
    	}
    
    	cfg.Optimize = env.Get(OptimizeEnv, kvs.Get(Optimize))
    
    	inlineBlockStr := env.Get(InlineBlockEnv, kvs.Get(InlineBlock))
    	if inlineBlockStr != "" {
    		inlineBlock, err := humanize.ParseBytes(inlineBlockStr)
    		if err != nil {
    			return cfg, err
    		}
    		if inlineBlock > 128*humanize.KiByte {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      for (auto &hook : GetAdditionalOperationHooks()) {
        hook.second(*this);
      }
    }
    
    TensorFlowDialect::~TensorFlowDialect() {
      delete fallback_effect_op_interface_;
    }
    
    Type TensorFlowDialect::parseType(DialectAsmParser &parser) const {
      StringRef spec = parser.getFullSymbolSpec();
      llvm::SMLoc loc = parser.getCurrentLocation();
      parser.emitError(
          loc, "tf dialect has no types, potentially meant !tf_type." + spec);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. cmd/common-main.go

    	if ctx.IsSet("memlimit") || ctx.GlobalIsSet("memlimit") {
    		memlimit := ctx.String("memlimit")
    		if memlimit == "" {
    			memlimit = ctx.GlobalString("memlimit")
    		}
    		mlimit, err := humanize.ParseBytes(memlimit)
    		if err != nil {
    			return err
    		}
    		if mlimit > memAvailable {
    			logger.Info("WARNING: maximum memory available (%s) smaller than specified --memlimit=%s, ignoring --memlimit value",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    //                 | `tensor<` (string-literal | string_list)  '>'
    //   tensor_list_type ::= `tensor_list`
    //                      | `tensor_list<` (string-literal | string_list)  '>'
    //   attr_type ::= `attr`
    Type TFRDialect::parseType(DialectAsmParser &parser) const {
      Location loc = parser.getEncodedSourceLoc(parser.getNameLoc());
      MLIRContext *ctx = loc.getContext();
    
      StringRef typeNameSpelling;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

          >();
    
      addInterfaces<TensorFlowExecutorInlinerInterface,
                    TensorFlowExecutorDialectFoldInterface>();
    
      addTypes<ControlType, TokenType>();
    }
    
    Type TensorFlowExecutorDialect::parseType(DialectAsmParser &parser) const {
      StringRef data_type;
      if (parser.parseKeyword(&data_type)) return Type();
    
      if (data_type == "control") return ControlType::get(getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    				BucketLookup: lookupStyle(r.Target.Path),
    			})
    			if err != nil {
    				batchLogIf(ctx, err)
    				return
    			}
    
    			// Already validated before arriving here
    			smallerThan, _ := humanize.ParseBytes(*r.Source.Snowball.SmallerThan)
    
    			batch := make([]ObjectInfo, 0, *r.Source.Snowball.Batch)
    			writeFn := func(batch []ObjectInfo) {
    				if len(batch) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top