/external/tensorflow/tensorflow/python/kernel_tests/ |
critical_section_test.py | 53 self.evaluate(v.initializer) 88 self.evaluate(v.initializer) 118 self.evaluate(v.initializer) 141 self.evaluate(v.initializer) 364 self.evaluate(v.initializer) 390 self.evaluate([v.initializer, itr.initializer])
|
init_ops_test.py | 48 init1: An Initializer that generates a tensor of a given shape 49 init2: An Initializer that generates a tensor of a given shape 65 """Tests duplicated random initializer within the same graph. 67 This test generates two random kernels from the same initializer to the same 74 init: An Initializer that generates a tensor of a given shape 95 init: An Initializer that generates a tensor of a given shape 115 "x", shape=shape, initializer=init_ops.zeros_initializer()) 116 x.initializer.run() 124 "x", shape=shape, initializer=init_ops.ones_initializer()) 125 x.initializer.run( [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/python/kernel_tests/ |
stats_accumulator_ops_test.py | 37 with ops.control_dependencies([accumulator.initializer]): 65 with ops.control_dependencies([accumulator.initializer]): 94 with ops.control_dependencies([accumulator.initializer]): 126 with ops.control_dependencies([accumulator.initializer]): 167 with ops.control_dependencies([accumulator.initializer]): 226 with ops.control_dependencies([accumulator.initializer]): 264 with ops.control_dependencies([accumulator.initializer]): 302 with ops.control_dependencies([accumulator.initializer]): 339 with ops.control_dependencies([accumulator.initializer]): 389 with ops.control_dependencies([accumulator.initializer]) [all...] |
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/ |
rnn_test.py | 55 initializer = init_ops.random_uniform_initializer( 64 initializer=initializer, 71 initializer=initializer, 235 initializer = init_ops.random_uniform_initializer( 243 initializer=initializer, 250 initializer=initializer, [all...] |
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
prefetch_to_device_test.py | 155 self.evaluate(iterator.initializer) 181 self.evaluate(iterator.initializer) 184 self.evaluate(iterator.initializer) 204 self.evaluate(iterator.initializer) 207 self.evaluate(iterator.initializer)
|
/external/tensorflow/tensorflow/python/debug/lib/ |
grpc_large_data_test.py | 106 sess.run(u.initializer) 129 sess.run(u.initializer) 158 sess.run(u.initializer) 179 sess.run(u.initializer) 201 sess.run(u.initializer)
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/ |
autocast_variable_test.py | 78 self.evaluate(x.initializer) 107 self.evaluate(x.initializer) 127 self.evaluate(x.initializer) 156 self.evaluate(x.initializer) 201 self.evaluate(x.initializer)
|
/external/tensorflow/tensorflow/python/tpu/ |
datasets_test.py | 77 self._sess.run(iterator.initializer) 102 self._sess.run(iterator.initializer) 130 self._sess.run(iterator.initializer) 164 self._sess.run(iterator.initializer) 188 self._sess.run(iterator.initializer)
|
tpu_embedding.py | 48 ['vocabulary_size', 'dimension', 'initializer', 'combiner'])): 54 initializer=None, 61 initializer: A variable initializer function to be used in embedding 78 ValueError: if `initializer` is specified and is not callable. 87 if (initializer is not None) and (not callable(initializer)): 88 raise ValueError('initializer must be callable if specified.') 89 if initializer is None: 90 initializer = init_ops.truncated_normal_initializer [all...] |
/external/tensorflow/tensorflow/python/ops/ |
init_ops.py | 54 class Initializer(object): 55 """Initializer base class: all initializers inherit from this class. 59 """Returns a tensor object initialized as specified by the initializer. 63 dtype: Optional dtype of the tensor. If not provided use the initializer 71 """Returns the configuration of the initializer as a JSON-serializable dict. 80 """Instantiates an initializer from a configuration dictionary. 85 initializer = RandomUniform(-1, 1) 86 config = initializer.get_config() 87 initializer = RandomUniform.from_config(config) 95 An Initializer instance [all...] |
lookup_ops.py | 152 def __init__(self, default_value, initializer): 155 If requires a table initializer object (subclass of `TableInitializerBase`). 161 initializer: The table initializer to use. 163 super(InitializableLookupTableBase, self).__init__(initializer.key_dtype, 164 initializer.value_dtype) 168 if isinstance(initializer, trackable_base.Trackable): 170 initializer, "_initializer") 235 def initializer(self): member in class:InitializableLookupTableBaseV1 254 def __init__(self, initializer, default_value, name=None) 318 def initializer(self): member in class:StaticHashTableV1 880 def initializer(self): member in class:IdTableWithHashBuckets 1148 def initializer(self): member in class:StaticVocabularyTableV1 [all...] |
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/ |
math_utils.py | 169 initializer=identity_like_power_matrix) 450 initializer=init_ops.zeros_initializer()) 459 initializer=constant_op.constant(-5., dtype=dtype)), 466 initializer=init_ops.zeros_initializer())), [all...] |
/external/tensorflow/tensorflow/contrib/grid_rnn/python/kernel_tests/ |
grid_rnn_test.py | 39 'root', initializer=init_ops.constant_initializer(0.2)) as root_scope: 97 'root', initializer=init_ops.constant_initializer(0.2)): 140 'root', initializer=init_ops.constant_initializer(0.2)): 168 'root', initializer=init_ops.constant_initializer(0.5)): 203 'root', initializer=init_ops.constant_initializer(0.5)): 238 'root', initializer=init_ops.constant_initializer(0.5)): 266 'root', initializer=init_ops.constant_initializer(0.5)): 297 'root', initializer=init_ops.constant_initializer(0.5)): 328 'root', initializer=init_ops.constant_initializer(0.5)): 353 'root', initializer=init_ops.constant_initializer(0.5)) as root_scope [all...] |
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/ |
rnn_cell.py | 109 def add_variable_wrapped(name, shape, initializer, index): 110 var = self.add_weight(name, shape=shape, initializer=initializer) 121 initializer=init_ops.zeros_initializer(dtype=self.dtype), 194 initializer=None, 212 initializer: (optional) The initializer to use for the weight and 262 self._initializer = initializer 310 def add_variable_wrapped(name, shape, initializer, index, partitioner): 312 name, shape=shape, initializer=initializer, partitioner=partitioner [all...] |
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
optimizers_test.py | 41 "test", [], initializer=init_ops.constant_initializer(10)) 47 initializer=init_ops.constant_initializer( 127 "test", [], initializer=init_ops.constant_initializer(10)) 143 initializer=init_ops.constant_initializer( 154 initializer=init_ops.constant_initializer( 312 "test", [], initializer=init_ops.constant_initializer(10)) 315 "update", [], initializer=init_ops.constant_initializer(10)) 337 "test", [], initializer=init_ops.constant_initializer(10)) 340 "update", [], initializer=init_ops.constant_initializer(10)) 361 "update", [], initializer=init_ops.constant_initializer(10) [all...] |
feature_column.py | 169 "initializer", 183 "initializer", 288 # For instance, exclude `initializer` from the key of EmbeddingColumn 439 initializer=init_ops.zeros_initializer(), [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
reduce.rs | 46 initializer(fMMInit) accumulator(fMMAccumulator) \ 99 initializer(fMMHalfInit) accumulator(fMMHalfAccumulator) \ 150 initializer(fMMHalfInit) accumulator(fMMHalfAccumulator) \ 172 initializer(fMMHalf2Init) accumulator(fMMHalf2Accumulator) \ 234 initializer(fMinMatInit) accumulator(fMinMatAccumulator) \ 267 initializer(fMinMaxMatInit) accumulator(fMinMaxMatAccumulator) \ 321 initializer(fzInit) \ 338 initializer(fz2Init) \ 360 initializer(fz3Init) \
|
/external/tensorflow/tensorflow/contrib/eager/python/ |
metrics_impl.py | 177 return control_flow_ops.group([v.initializer for v in self._vars]) 260 def add_variable(self, name, shape=None, dtype=None, initializer=None): 279 initializer=initializer, 308 initializer=init_ops.zeros_initializer) 311 initializer=init_ops.zeros_initializer)
|
/external/tensorflow/tensorflow/contrib/framework/python/framework/ |
checkpoint_utils_test.py | 61 initializer=init_ops.truncated_normal_initializer(0.5), 157 my5 = variable_scope.get_variable("var5", initializer=my5_init) 225 initializer=init_ops.truncated_normal_initializer(0.5), 233 initializer=init_ops.truncated_normal_initializer(0.5), 255 initializer=init_ops.truncated_normal_initializer(0.5), 280 initializer=init_ops.zeros_initializer())
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/ |
optimize_dataset_test.py | 123 init_op = iterator.initializer 138 init_op = iterator.initializer 226 "v", initializer=0, use_resource=False) 257 self.evaluate(variable.initializer) 258 self.evaluate((unoptimized_it.initializer, optimized_it.initializer))
|
/external/llvm/bindings/python/llvm/ |
disassembler.py | 50 for initializer in ("TargetInfo", "TargetMC", "Disassembler"): 52 f = getattr(lib, "LLVMInitialize" + tgt + initializer)
|
/external/python/cpython2/Lib/multiprocessing/ |
__init__.py | 227 def Pool(processes=None, initializer=None, initargs=(), maxtasksperchild=None): 232 return Pool(processes, initializer, initargs, maxtasksperchild)
|
/external/python/cpython2/Lib/multiprocessing/dummy/ |
__init__.py | 149 def Pool(processes=None, initializer=None, initargs=()): 151 return ThreadPool(processes, initializer, initargs)
|
/external/python/cpython3/Lib/multiprocessing/dummy/ |
__init__.py | 122 def Pool(processes=None, initializer=None, initargs=()): 124 return ThreadPool(processes, initializer, initargs)
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/python/llvm/ |
disassembler.py | 50 for initializer in ("TargetInfo", "TargetMC", "Disassembler"): 52 f = getattr(lib, "LLVMInitialize" + tgt + initializer)
|