Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for lookup_type (0.17 sec)

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

    Type GetEmbeddingLookupShape(Value lookup, Value value) {
      auto lookup_type = mlir::cast<ShapedType>(lookup.getType());
      if (!lookup_type.hasStaticShape()) {
        return nullptr;
      }
      auto value_type = mlir::cast<ShapedType>(value.getType());
      if (!value_type.hasStaticShape() || value_type.getRank() != 2) {
        return nullptr;
      }
      SmallVector<int64_t> new_shape = {lookup_type.getNumElements(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. src/go/doc/reader.go

    func (r *reader) isVisible(name string) bool {
    	return r.mode&AllDecls != 0 || token.IsExported(name)
    }
    
    // lookupType returns the base type with the given name.
    // If the base type has not been encountered yet, a new
    // type with the given name but no associated declaration
    // is added to the type map.
    func (r *reader) lookupType(name string) *namedType {
    	if name == "" || name == "_" {
    		return nil // no type docs for anonymous types
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/wasm/asm.go

    					wi := readWasmImport(ldr, lsym)
    					hostImportMap[fn] = int64(len(hostImports))
    					hostImports = append(hostImports, &wasmFunc{
    						Module: wi.Module,
    						Name:   wi.Name,
    						Type: lookupType(&wasmFuncType{
    							Params:  fieldsToTypes(wi.Params),
    							Results: fieldsToTypes(wi.Results),
    						}, &types),
    					})
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		Creds:        credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:       u.Scheme == "https",
    		Transport:    getRemoteInstanceTransport(),
    		BucketLookup: lookupStyle(r.Source.Path),
    	})
    	if err != nil {
    		return err
    	}
    
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    	core := &miniogo.Core{Client: c}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/lookup.go

    	prev := make(map[Type]int) // index at which type was previously seen
    	for _, e := range list {
    		if i, found := lookupType(prev, e.typ); found {
    			list[i].multiples = true
    			// ignore this entry
    		} else {
    			prev[e.typ] = n
    			list[n] = e
    			n++
    		}
    	}
    	return list[:n]
    }
    
    func lookupType(m map[Type]int, typ Type) (int, bool) {
    	// fast path: maybe the types are equal
    	if i, found := m[typ]; found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/go/types/lookup.go

    	prev := make(map[Type]int) // index at which type was previously seen
    	for _, e := range list {
    		if i, found := lookupType(prev, e.typ); found {
    			list[i].multiples = true
    			// ignore this entry
    		} else {
    			prev[e.typ] = n
    			list[n] = e
    			n++
    		}
    	}
    	return list[:n]
    }
    
    func lookupType(m map[Type]int, typ Type) (int, bool) {
    	// fast path: maybe the types are equal
    	if i, found := m[typ]; found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top