Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for parseTypes (0.48 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

          >();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.cpp.inc"
          >();
    }
    
    // Parse a type registered to this dialect.
    mlir::Type TensorflowMlrtDialect::parseType(
        mlir::DialectAsmParser &parser) const {
      llvm::StringRef keyword;
      if (parser.parseKeyword(&keyword)) return mlir::Type();
    
      if (keyword == "tensor") return TFTensorType::get(getContext());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top