Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NameMap (0.27 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. tensorflow/cc/framework/scope.cc

      return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
                            /* disable_shape_inference */ false));
    }
    
    Scope Scope::DisabledShapeInferenceScope() {
      Graph* graph = new Graph(OpRegistry::Global());
      ShapeRefiner* refiner =
          new ShapeRefiner(graph->versions(), graph->op_registry());
      return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/internal/trace/traceviewer/static/trace_viewer_full.html

    class BreakdownTableSummaryRow{constructor(displayElement,histogramNames){this.displayElement_=displayElement;this.histogramNames_=histogramNames;this.keySpan_=undefined;}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top