Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for newPara (0.23 sec)

  1. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

            arg_type = quantize_output.getType();
            new_arg = block.addArgument(arg_type, loc);
            quantize_output.replaceAllUsesWith(new_arg);
          } else if (input_type.isUnsignedInteger(
                         current_type.getIntOrFloatBitWidth())) {  // int8 != uint8
            arg_type = quant::ConvertSignedQuantizedToUnsigned(
                quantize_output.getType(), loc);
            new_arg = block.addArgument(arg_type, loc);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	watcher.SetAndNotify(nil, nil, newCaBundle)
    	newData := map[string]string{
    		constants.CACertNamespaceConfigMapDataName: string(newCaBundle),
    	}
    	expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, "foo", newData)
    
    	deleteConfigMap(t, client.Kube(), "foo")
    	expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, "foo", newData)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. cmd/api-response.go

    	for index, part := range partsInfo.Parts {
    		newPart := Part{}
    		newPart.PartNumber = part.PartNumber
    		newPart.ETag = "\"" + part.ETag + "\""
    		newPart.Size = part.Size
    		newPart.LastModified = amztime.ISO8601Format(part.LastModified.UTC())
    		newPart.ChecksumCRC32 = part.ChecksumCRC32
    		newPart.ChecksumCRC32C = part.ChecksumCRC32C
    		newPart.ChecksumSHA1 = part.ChecksumSHA1
    		newPart.ChecksumSHA256 = part.ChecksumSHA256
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. src/go/types/object.go

    }
    
    // NewVar returns a new variable.
    // The arguments set the attributes found with all Objects.
    func NewVar(pos token.Pos, pkg *Package, name string, typ Type) *Var {
    	return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}}
    }
    
    // NewParam returns a new variable representing a function parameter.
    func NewParam(pos token.Pos, pkg *Package, name string, typ Type) *Var {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go

    		return nil, err
    	}
    
    	oldData, err := json.Marshal(obj)
    	if err != nil {
    		return nil, err
    	}
    	newData, err := json.Marshal(objCopy)
    	if err != nil {
    		return nil, err
    	}
    
    	return jsonpatch.CreateMergePatch(oldData, newData)
    }
    
    // parseCommandArguments will stringify and return all environment arguments ie. a command run by a client
    // using the factory.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/object.go

    }
    
    // NewVar returns a new variable.
    // The arguments set the attributes found with all Objects.
    func NewVar(pos syntax.Pos, pkg *Package, name string, typ Type) *Var {
    	return &Var{object: object{nil, pos, pkg, name, typ, 0, colorFor(typ), nopos}}
    }
    
    // NewParam returns a new variable representing a function parameter.
    func NewParam(pos syntax.Pos, pkg *Package, name string, typ Type) *Var {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

          auto quantize_output = quantize_op.getOutput();
          auto quantize_type = quantize_output.getType();
          input_types.push_back(quantize_type);
          auto new_arg = bb.addArgument(quantize_type, loc);
          quantize_output.replaceAllUsesWith(new_arg);
          quantize_op.erase();
          arg.dropAllUses();
          bb.eraseArgument(0);
        };
    
        // This is looking for a pattern: arg -> tfl.quantize
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/iimport.go

    	for i := range xs {
    		xs[i] = r.param()
    	}
    	return types.NewTuple(xs...)
    }
    
    func (r *importReader) param() *types.Var {
    	pos := r.pos()
    	name := r.ident()
    	typ := r.typ()
    	return types.NewParam(pos, r.currPkg, name, typ)
    }
    
    func (r *importReader) bool() bool {
    	return r.uint64() != 0
    }
    
    func (r *importReader) int64() int64 {
    	n, err := binary.ReadVarint(&r.declReader)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

        {
          Block &entry_block = outlined_func.getBody().front();
          auto loc = outlined_func.getLoc();
          for (Value operand : operands) {
            BlockArgument newArg = entry_block.addArgument(operand.getType(), loc);
            replaceAllUsesInRegionWith(operand, newArg, outlined_func.getBody());
          }
        }
    
        // The function is in place in the nested module, create a call and yield in
        // the original island.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/ureader.go

    	}
    
    	return types.NewTuple(params...)
    }
    
    func (r *reader) param() *types.Var {
    	r.Sync(pkgbits.SyncParam)
    
    	pos := r.pos()
    	pkg, name := r.localIdent()
    	typ := r.typ()
    
    	return types.NewParam(pos, pkg, name, typ)
    }
    
    // @@@ Objects
    
    func (r *reader) obj() (types.Object, []types.Type) {
    	r.Sync(pkgbits.SyncObject)
    
    	assert(!r.Bool())
    
    	pkg, name := r.p.objIdx(r.Reloc(pkgbits.RelocObj))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top