1 write to _dictionary
Microsoft.ML.TorchSharp (1)
Utils\DefaultDictionary.cs (1)
27_dictionary = new Dictionary<TKey, TValue>();
16 references to _dictionary
Microsoft.ML.TorchSharp (16)
Utils\DefaultDictionary.cs (16)
35return _dictionary[key]; 39_dictionary[key] = value; 47return _dictionary.GetEnumerator(); 52return ((IEnumerable)_dictionary).GetEnumerator(); 57_dictionary.Add(item.Key, item.Value); 62_dictionary.Clear(); 67return _dictionary.Contains(item); 72((ICollection<KeyValuePair<TKey, TValue>>)_dictionary).CopyTo(array, arrayIndex); 77return _dictionary.Remove(item.Key); 80public int Count => _dictionary.Count; 86_dictionary.Add(key, value); 91return _dictionary.ContainsKey(key); 96return _dictionary.Remove(key); 101return _dictionary.TryGetValue(key, out value); 104public ICollection<TKey> Keys => _dictionary.Keys; 106public ICollection<TValue> Values => _dictionary.Values;