Home
last modified time | relevance | path

Searched refs:init_fn (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/python/training/
Dsession_manager.py234 init_fn=None): argument
292 if init_op is None and not init_fn and self._local_init_op is None:
297 if init_fn:
298 init_fn(sess)
305 init_fn,
313 (_maybe_name(init_op), init_fn, self._local_init_op, msg))
Dmonitored_session.py109 init_fn=None, argument
159init_fn = coalesce(init_fn, copy_from_scaffold._user_init_fn) # pylint: disable=protected-access
169 self._user_init_fn = init_fn
170 if init_fn:
171 self._init_fn = lambda sess: init_fn(self, sess)
241 def init_fn(self): member in Scaffold
639 init_fn=self._scaffold.init_fn)
Dmonitored_session_test.py65 self.assertEqual(None, scaffold.init_fn)
80 self.assertEqual(None, scaffold.init_fn)
102 self.assertEqual(None, scaffold.init_fn)
137 init_fn=lambda scaffold, sess: 4,
145 self.assertTrue(callable(scaffold.init_fn))
167 init_fn=lambda scaffold, sess: 4,
177 self.assertTrue(callable(scaffold2.init_fn))
190 init_fn=lambda scaffold, sess: 4,
199 init_fn=lambda scaffold, sess: 8,
209 self.assertTrue(callable(scaffold2.init_fn))
[all …]
Dsupervisor.py228 init_fn=None, argument
331 self._init_fn = init_fn
730 init_feed_dict=self._init_feed_dict, init_fn=self._init_fn)
Dsession_manager_test.py69 "", init_fn=lambda sess: sess.run(v.initializer))
698 "", init_fn=lambda sess: sess.run(v.initializer))
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dlearning.py75 init_fn=None, argument
179 init_fn=init_fn,
/external/tensorflow/tensorflow/python/saved_model/
Dload_v1_in_v2.py47 def __init__(self, init_fn, asset_paths): argument
50 self._init_fn = init_fn
139 init_fn = wrapped.prune(
142 initializer = _Initializer(init_fn, asset_paths)
/external/strace/tests/
Dbpf.c101 void (*init_fn)(struct bpf_attr_check *check); member
179 if (check->init_fn) in test_bpf()
180 check->init_fn((struct bpf_attr_check *) check); in test_bpf()
421 .init_fn = init_BPF_MAP_CREATE_attr7,
649 .init_fn = init_BPF_PROG_LOAD_attr3,
665 .init_fn = init_BPF_PROG_LOAD_attr4,
694 .init_fn = init_BPF_OBJ_PIN_attr,
703 .init_fn = init_BPF_OBJ_PIN_attr,
1021 .init_fn = init_BPF_PROG_QUERY_attr4,
1032 .init_fn = init_BPF_PROG_QUERY_attr5,
[all …]
/external/strace/tests-m32/
Dbpf.c101 void (*init_fn)(struct bpf_attr_check *check); member
179 if (check->init_fn) in test_bpf()
180 check->init_fn((struct bpf_attr_check *) check); in test_bpf()
421 .init_fn = init_BPF_MAP_CREATE_attr7,
649 .init_fn = init_BPF_PROG_LOAD_attr3,
665 .init_fn = init_BPF_PROG_LOAD_attr4,
694 .init_fn = init_BPF_OBJ_PIN_attr,
703 .init_fn = init_BPF_OBJ_PIN_attr,
1021 .init_fn = init_BPF_PROG_QUERY_attr4,
1032 .init_fn = init_BPF_PROG_QUERY_attr5,
[all …]
/external/strace/tests-mx32/
Dbpf.c101 void (*init_fn)(struct bpf_attr_check *check); member
179 if (check->init_fn) in test_bpf()
180 check->init_fn((struct bpf_attr_check *) check); in test_bpf()
421 .init_fn = init_BPF_MAP_CREATE_attr7,
649 .init_fn = init_BPF_PROG_LOAD_attr3,
665 .init_fn = init_BPF_PROG_LOAD_attr4,
694 .init_fn = init_BPF_OBJ_PIN_attr,
703 .init_fn = init_BPF_OBJ_PIN_attr,
1021 .init_fn = init_BPF_PROG_QUERY_attr4,
1032 .init_fn = init_BPF_PROG_QUERY_attr5,
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Devaluation.py226 init_fn=None, argument
301 init_fn=init_fn, saver=saver),
Dlearning.py544 init_fn=None, argument
737 init_fn=init_fn)
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/
Dreduce_dataset_test.py43 def init_fn(_): function
52 sum_reducer = grouping.Reducer(init_fn, reduce_fn, finalize_fn)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-scaffold.pbtxt10 name: "init_fn"
39 …argspec: "args=[\'self\', \'init_op\', \'init_feed_dict\', \'init_fn\', \'ready_op\', \'ready_for_…
Dtensorflow.train.-session-manager.pbtxt11 …t_for_checkpoint\', \'max_wait_secs\', \'config\', \'init_feed_dict\', \'init_fn\'], varargs=None,…
Dtensorflow.train.-supervisor.pbtxt107 …s\', \'checkpoint_basename\', \'session_manager\', \'summary_writer\', \'init_fn\', \'local_init_r…
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables_test.py890 init_fn = variables_lib2.assign_from_values_fn(var_names_to_values)
896 init_fn(sess)
921 init_fn = variables_lib2.assign_from_values_fn(var_names_to_values)
927 init_fn(sess)
1133 init_fn = variables_lib2.assign_from_checkpoint_fn(
1140 init_fn(sess)
1164 init_fn = variables_lib2.assign_from_checkpoint_fn(
1172 init_fn(sess)
1193 init_fn = variables_lib2.assign_from_checkpoint_fn(
1200 init_fn(sess)
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dgraph_actions.py136 init_fn=None, argument
221 init_fn,
245 init_fn, argument
313 init_fn=init_fn)
/external/tensorflow/tensorflow/contrib/training/python/training/
Devaluation.py333 if not scaffold.init_fn:
337 init_fn=restore_checkpoint,
Dtraining_test.py430 def init_fn(_, session): function
436 scaffold=monitored_session.Scaffold(init_fn=init_fn),
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dgroup_by_reducer_test.py173 def init_fn(_): function
184 reducer = grouping.Reducer(init_fn, reduce_fn, finalize_fn)
/external/u-boot/arch/x86/include/asm/arch-quark/
Dmrc.h167 void (*init_fn)(struct mrc_params *mrc_params); member
/external/u-boot/arch/x86/cpu/quark/
Dmrc.c176 init[i].init_fn(mrc_params); in mrc_mem_init()
/external/tensorflow/tensorflow/python/eager/
Dops_test.py387 def init_fn(): function
398 t1 = threading.Thread(target=init_fn)
Ddef_function_test.py152 init_fn = fn.get_initialization_function(constant_op.constant(1.0))
156 init_fn()

12