/external/tensorflow/tensorflow/contrib/data/python/ops/ |
error_ops.py | 15 """Ignore_errors dataset transformations.""" 27 def ignore_errors(): function 40 # Using `ignore_errors()` will drop the element that causes an error. 42 dataset.apply(tf.contrib.data.ignore_errors()) # ==> { 1., 0.5, 0.2 } 60 """See `Dataset.ignore_errors()` for details."""
|
dataset_ops.py | 412 None, "Use `ds.apply(tf.contrib.data.ignore_errors())`.") 413 def ignore_errors(self): member in class:Dataset 414 """Deprecated: Use `Dataset.apply(tf.contrib.data.ignore_errors())`.""" 416 return self.apply(error_ops.ignore_errors())
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
transform_graph_test.cc | 35 bool* ignore_errors); 222 bool ignore_errors; local 224 ShouldIgnoreErrors({{"ignore_errors", {"true"}}}, &ignore_errors)); 225 EXPECT_TRUE(ignore_errors); 228 ShouldIgnoreErrors({{"ignore_errors", {"false"}}}, &ignore_errors)); 229 EXPECT_FALSE(ignore_errors); 231 TF_EXPECT_OK(ShouldIgnoreErrors({}, &ignore_errors)); 232 EXPECT_FALSE(ignore_errors); [all...] |
transform_graph.cc | 231 bool* ignore_errors) { 232 *ignore_errors = false; 233 if (transform_params.count("ignore_errors") && 234 (!transform_params.at("ignore_errors").empty())) { 236 str_util::Lowercase(transform_params.at("ignore_errors").at(0)); 238 *ignore_errors = true; 240 *ignore_errors = false; 243 "ignore_errors should be true or false, found ", 271 bool ignore_errors; local 273 ShouldIgnoreErrors(transform_info.second, &ignore_errors)); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
codecs.py | 29 "strict_errors", "ignore_errors", "replace_errors",
1075 ignore_errors = lookup_error("ignore") variable 1082 ignore_errors = None variable [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
codecs.py | 23 "strict_errors", "ignore_errors", "replace_errors",
1072 ignore_errors = lookup_error("ignore") variable 1079 ignore_errors = None variable [all...] |