Home
last modified time | relevance | path

Searched refs:trackable (Results 1 – 25 of 57) sorted by relevance

123

/external/tensorflow/tensorflow/python/training/tracking/
Dbase.py247 def restore(self, trackable): argument
250 if self.bind_object(trackable):
253 …restore_ops = trackable._restore_from_checkpoint_position(self) # pylint: disable=protected-access
257 def bind_object(self, trackable): argument
270 checkpoint.all_python_objects.add(trackable)
274 checkpoint.object_by_proto_id[self._proto_id] = trackable
277 trackable._create_or_restore_slot_variable( # pylint: disable=protected-access
293 original_variable=trackable,
306 variable=trackable,
314 if current_assignment is not trackable:
[all …]
Dgraph_view.py63 (_escape_local_name(trackable.name)
64 for trackable in path_to_root))
93 for trackable in non_slot_objects:
94 if (isinstance(trackable, optimizer_v1.Optimizer)
98 or "_create_or_restore_slot_variable" in dir(trackable)):
100 optimizer_path=object_names[trackable])
101 slot_names = trackable.get_slot_names()
106 slot_variable = trackable.get_slot(
138 slot_variables.setdefault(trackable, []).append(
245 for checkpoint_id, (trackable, object_proto) in enumerate(
[all …]
Dutil.py329 def globally_named_object_attributes(self, trackable): argument
344 trackable._gather_saveables_for_checkpoint().items()): # pylint: disable=protected-access
357 self.unused_attributes.setdefault(trackable,
369 def eager_restore(self, trackable): argument
375 for saveable in self.globally_named_object_attributes(trackable):
393 self.unused_attributes.setdefault(trackable, []).append(saveable.name)
451 def add_variable(trackable, argument
458 return trackable._add_variable_with_custom_getter( # pylint: disable=protected-access
744 trackable = self._checkpoint.object_by_proto_id.get(node_id, None)
745 if trackable is None:
[all …]
Ddata_structures.py109 def sticky_attribute_assignment(trackable, name, value): argument
135 trackable._track_trackable( # pylint: disable=protected-access
182 trackable=self, value=value, name=name)
677 trackable=self, value=value, name=name)
892 trackable=self, value=value, name=name)
1008 trackable=self, value=value, name=name)
/external/libabigail/tests/data/test-abidiff/
Dtest-PR18791-report0.txt28 'struct sigc::trackable' changed:
221 'struct sigc::trackable' changed:
366 …[C] 'method void sigc::trackable::add_destroy_notify_callback(void*)' has some indirect sub-type c…
367 implicit parameter 0 of type 'const sigc::trackable*' has sub-type changes:
368 in pointed to type 'const sigc::trackable':
369 unqualified underlying type 'struct sigc::trackable' changed, as reported earlier
371 …[C] 'method sigc::internal::trackable_callback_list* sigc::trackable::callback_list()' has some in…
374 implicit parameter 0 of type 'const sigc::trackable*' has sub-type changes:
375 in pointed to type 'const sigc::trackable':
376 unqualified underlying type 'struct sigc::trackable' changed, as reported earlier
[all …]
/external/skqp/platform_tools/libraries/include/
Darcore_c_api.h415 inline ArPlane *ArAsPlane(ArTrackable *trackable) { in ArAsPlane() argument
416 return reinterpret_cast<ArPlane *>(trackable); in ArAsPlane()
420 inline ArPoint *ArAsPoint(ArTrackable *trackable) { in ArAsPoint() argument
421 return reinterpret_cast<ArPoint *>(trackable); in ArAsPoint()
425 inline ArAugmentedImage *ArAsAugmentedImage(ArTrackable *trackable) { in ArAsAugmentedImage() argument
426 return reinterpret_cast<ArAugmentedImage *>(trackable); in ArAsAugmentedImage()
1784 void ArTrackable_release(ArTrackable *trackable);
1788 const ArTrackable *trackable,
1794 const ArTrackable *trackable,
1810 ArTrackable *trackable,
[all …]
/external/skia/platform_tools/libraries/include/
Darcore_c_api.h415 inline ArPlane *ArAsPlane(ArTrackable *trackable) { in ArAsPlane() argument
416 return reinterpret_cast<ArPlane *>(trackable); in ArAsPlane()
420 inline ArPoint *ArAsPoint(ArTrackable *trackable) { in ArAsPoint() argument
421 return reinterpret_cast<ArPoint *>(trackable); in ArAsPoint()
425 inline ArAugmentedImage *ArAsAugmentedImage(ArTrackable *trackable) { in ArAsAugmentedImage() argument
426 return reinterpret_cast<ArAugmentedImage *>(trackable); in ArAsAugmentedImage()
1784 void ArTrackable_release(ArTrackable *trackable);
1788 const ArTrackable *trackable,
1794 const ArTrackable *trackable,
1810 ArTrackable *trackable,
[all …]
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/app/
DHelloCanvasAR.java415 Trackable trackable = hit.getTrackable(); in handleSingleTaps() local
417 if ((trackable instanceof Plane in handleSingleTaps()
418 && ((Plane) trackable).isPoseInPolygon(hit.getHitPose()) in handleSingleTaps()
421 || (trackable instanceof Point in handleSingleTaps()
422 && ((Point) trackable).getOrientationMode() in handleSingleTaps()
447 Trackable trackable = hit.getTrackable(); in handleHoldTaps() local
449 if ((trackable instanceof Plane in handleHoldTaps()
450 && ((Plane) trackable).isPoseInPolygon(hit.getHitPose()) in handleHoldTaps()
453 || (trackable instanceof Point in handleHoldTaps()
454 && ((Point) trackable).getOrientationMode() in handleHoldTaps()
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
DREADME.md8 object graph generated from a root trackable object, and all trackable objects
11 subclass the trackable class. Other objects like TensorFlow functions and
36 trackable object graph, and each node in the graph stores information about
40 tf.functions, these attributes are wrapped as trackable objects/tf.functions at
53 directly to the exported object, they are saved to a new `keras_api` trackable
Dsave_impl.py43 from tensorflow.python.training.tracking import base as trackable unknown
242 with trackable.no_automatic_dependency_tracking_scope(child_layer):
261 with trackable.no_automatic_dependency_tracking_scope(child_layer):
298 with trackable.no_automatic_dependency_tracking_scope(child_layer):
314 with trackable.no_automatic_dependency_tracking_scope(layer):
322 with trackable.no_automatic_dependency_tracking_scope(layer):
Dserialized_attributes.py25 from tensorflow.python.training.tracking import base as trackable unknown
209 if not isinstance(object_dict[key], trackable.Trackable):
Dload.py51 from tensorflow.python.training.tracking import base as trackable unknown
336 if not isinstance(obj_child, trackable.Trackable):
986 with trackable.no_automatic_dependency_tracking_scope(revived_obj):
1024 if isinstance(value, trackable.Trackable):
1056 with trackable.no_automatic_dependency_tracking_scope(revived_obj):
1143 with trackable.no_automatic_dependency_tracking_scope(revived_obj):
1160 with trackable.no_automatic_dependency_tracking_scope(revived_obj):
1174 with trackable.no_automatic_dependency_tracking_scope(layer):
/external/tensorflow/tensorflow/python/training/saving/
Dsaveable_object_util.py41 from tensorflow.python.training.tracking import base as trackable unknown
188 elif isinstance(op, trackable.Trackable) and not isinstance(
192 if attr == trackable.VARIABLE_VALUE_KEY:
275 elif isinstance(var, trackable.Trackable) and not resource_or_ref_variable:
413 if any(isinstance(saveable, trackable.PythonStateSaveable)
420 if any(isinstance(saveable, trackable.NoRestoreSaveable)
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scale.py33 from tensorflow.python.training.tracking import base as trackable unknown
50 class LossScale(trackable.Trackable):
172 self._handle_deferred_dependencies(name=name, trackable=variable)
186 weights.append(trackable.TrackableReference(name=name, ref=v))
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer.py42 from tensorflow.python.training.tracking import base as trackable unknown
155 …def _track_trackable(self, trackable, name, overwrite=False): # pylint: disable=redefined-outer-n… argument
156 return self._trackable._track_trackable(trackable, name, overwrite)
158 def _handle_deferred_dependencies(self, name, trackable): # pylint: disable=redefined-outer-name argument
159 return self._trackable._handle_deferred_dependencies(name, trackable)
215 class _DynamicLossScaleState(trackable.Trackable):
271 self._handle_deferred_dependencies(name=name, trackable=variable)
286 weights.append(trackable.TrackableReference(name=name, ref=v))
1113 class FakeOptimizerForRestoration(trackable.Trackable):
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_utils.py797 def __init__(self, trackable): argument
798 if not isinstance(trackable, tracking.Trackable):
799 raise ValueError('%s is not a Trackable object.' % (trackable,))
800 self._trackable = trackable
804 …saveables = trackable._gather_saveables_for_checkpoint().values() # pylint: disable=protected-acc…
844 (trackable, len(saveables)))
Dsequential.py41 from tensorflow.python.training.tracking import base as trackable unknown
109 @trackable.no_automatic_dependency_tracking
159 @trackable.no_automatic_dependency_tracking
247 @trackable.no_automatic_dependency_tracking
272 @trackable.no_automatic_dependency_tracking
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dtf_saved_model_api.cc118 int node, const TrackableObjectGraph::TrackableObject& trackable) { in RestoreCheckpoint() argument
136 FindSerializedTensorInTrackable(trackable, "VARIABLE_VALUE"); in RestoreCheckpoint()
/external/tensorflow/tensorflow/python/training/
Doptimizer.py44 from tensorflow.python.training.tracking import base as trackable unknown
229 trackable.Trackable):
838 self._handle_deferred_dependencies(name=name, trackable=v)
853 trackable.TrackableReference(
1215 initializer = trackable.CheckpointInitialValueCallable(
/external/tensorflow/tensorflow/python/keras/protobuf/
Dsaved_metadata.proto10 // Nodes represent trackable objects in the SavedModel. The data for every
/external/libabigail/tests/data/test-diff-pkg/
Dlibsigc++-2.0-0c2a_2.4.0-1_amd64--libsigc++-2.0-0v5_2.4.1-1ubuntu2_amd64-report-0.txt30 'struct sigc::trackable' changed:
109 [C] 'method sigc::trackable::~trackable(int)' has some indirect sub-type changes:
/external/tensorflow/tensorflow/python/distribute/
Dparameter_server_strategy_v2.py39 from tensorflow.python.training.tracking import base as trackable unknown
658 shard_info=trackable.ShardInfo(
Dsharded_variable.py38 from tensorflow.python.training.tracking import base as trackable unknown
251 class ShardedVariableMixin(trackable.Trackable):
556 return {trackable.VARIABLE_VALUE_KEY: _saveable_factory}
/external/tensorflow/tensorflow/python/data/ops/
Diterator_ops.py40 from tensorflow.python.training.tracking import base as trackable unknown
80 class Iterator(trackable.Trackable):
544 class IteratorBase(collections_abc.Iterator, trackable.Trackable,
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2.py55 from tensorflow.python.training.tracking import base as trackable unknown
121 class OptimizerV2(trackable.Trackable):
776 if isinstance(value, trackable.Trackable):
887 trackable.CheckpointInitialValueCallable) or (shape is not None):
1379 initializer = trackable.CheckpointInitialValueCallable(

123