Home
last modified time | relevance | path

Searched refs:optional_features (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/core/
Dconverter.py156 optional_features=Feature.ALL): argument
162 if optional_features is None:
163 optional_features = ()
164 elif isinstance(optional_features, Feature):
165 optional_features = (optional_features,)
166 optional_features = frozenset(optional_features)
167 self.optional_features = optional_features
171 self.internal_convert_user_code, self.optional_features)
184 return (Feature.ALL in self.optional_features or
185 feature in self.optional_features)
[all …]
Dfunction_wrappers_test.py38 optional_features=converter.Feature.NAME_SCOPES)):
47 optional_features=converter.Feature.AUTO_CONTROL_DEPS)) as scope:
Dconverter_test.py61 self.assertEqual(opts.optional_features, reparsed_opts.optional_features)
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py674 optional_features=None, argument
708 optional_features=optional_features)
792 optional_features=experimental_optional_features))
Dapi_test.py687 user_requested=True, optional_features=None)
701 opts = converter.ConversionOptions(optional_features=None)
/external/tensorflow/tensorflow/python/framework/
Dfunc_graph.py980 optional_features=autograph_options,