Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for parseTypes (0.96 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    };
    
    void TFLDialect::printType(Type type, DialectAsmPrinter& os) const {
      if (type.isa<ControlType>()) {
        os << "control";
        return;
      }
      os << "<unknown TFL type>";
    }
    
    Type TFLDialect::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 May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top