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)
35
return
_dictionary
[key];
39
_dictionary
[key] = value;
47
return
_dictionary
.GetEnumerator();
52
return ((IEnumerable)
_dictionary
).GetEnumerator();
57
_dictionary
.Add(item.Key, item.Value);
62
_dictionary
.Clear();
67
return
_dictionary
.Contains(item);
72
((ICollection<KeyValuePair<TKey, TValue>>)
_dictionary
).CopyTo(array, arrayIndex);
77
return
_dictionary
.Remove(item.Key);
80
public int Count =>
_dictionary
.Count;
86
_dictionary
.Add(key, value);
91
return
_dictionary
.ContainsKey(key);
96
return
_dictionary
.Remove(key);
101
return
_dictionary
.TryGetValue(key, out value);
104
public ICollection<TKey> Keys =>
_dictionary
.Keys;
106
public ICollection<TValue> Values =>
_dictionary
.Values;