Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NameMap (0.14 sec)

  1. tensorflow/cc/framework/scope_internal.h

    class Scope::Impl {
     public:
      // A NameMap is used to keep track of suffixes for names used in a scope. A
      // name that has not been used so far in a scope will get no suffix. Later
      // uses of the same name will get suffixes _1, _2, _3, etc. Multiple scopes
      // can share the same NameMap. For instance, a new scope created using
      // WithControlDependencies() would share the same NameMap with the parent.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:46:43 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/internal/src/xpos.go

    		t.baseList = append(t.baseList, nil)
    		t.indexMap = make(map[*PosBase]int)
    		t.nameMap = make(map[string]int)
    	}
    
    	i := len(t.baseList)
    	t.indexMap[base] = i
    	t.baseList = append(t.baseList, base)
    
    	fileIndex, ok := t.nameMap[base.absFilename]
    	if !ok {
    		fileIndex = len(t.nameMap)
    		t.nameMap[base.absFilename] = fileIndex
    	}
    	base.fileIndex = fileIndex
    
    	return int32(i)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. callbacks.go

    			fns = append(fns, cs[idx].handler)
    		}
    	}
    
    	return
    }
    
    func removeCallbacks(cs []*callback, nameMap map[string]bool) []*callback {
    	callbacks := make([]*callback, 0, len(cs))
    	for _, callback := range cs {
    		if nameMap[callback.name] {
    			continue
    		}
    		callbacks = append(callbacks, callback)
    	}
    	return callbacks
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top