Home
last modified time | relevance | path

Searched refs:estimator (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/external/tensorflow/tensorflow/contrib/estimator/
DBUILD33 "//tensorflow/python/estimator:estimator_py",
39 srcs = ["python/estimator/boosted_trees.py"],
43 "//tensorflow/python/estimator",
44 "//tensorflow/python/estimator:boosted_trees",
50 srcs = ["python/estimator/dnn_with_layer_annotations.py"],
55 "//tensorflow/python/estimator",
56 "//tensorflow/python/estimator:head",
57 "//tensorflow/python/estimator:model_fn",
58 "//tensorflow/python/estimator:optimizers",
65 "python/estimator/extenders.py",
[all …]
D__init__.py30 from tensorflow_estimator.contrib import estimator
39 import tensorflow.contrib.estimator.python
43 estimator.__all__ = [s for s in dir(estimator) if not s.startswith('__')]
45 from tensorflow_estimator.contrib.estimator import *
/external/tensorflow/tensorflow/contrib/learn/
DREADME.md11 exposed under `tf.estimator`:
18 * Replace `tf.contrib.learn` with `tf.estimator`.
20 write a factory method that returns a canned estimator instead. If this is not
21 possible (if you override methods from the canned estimator), consider writing
22 a custom estimator instead. See `tf.estimator.Estimator`.
25 * Some optimizer-related arguments are no longer passed in the estimator
28 * `gradient_clip_norm`: Use `tf.contrib.estimator.clip_gradients_by_norm`
41 * Use `tf.reshape` to reshape labels in your `input_fn`. `tf.estimator`
47 `tf.estimator.add_metrics`.
66 Consider `tf.contrib.estimator.DNNEstimator`, or write a custom model_fn.
[all …]
/external/tensorflow/tensorflow/python/distribute/
Destimator_training.py203 def train_and_evaluate(estimator, train_spec, eval_spec, executor_cls): argument
216 run_config = estimator.config
223 local_estimator = copy.deepcopy(estimator)
256 local_estimator = copy.deepcopy(estimator)
295 def estimator_train(estimator, train_distributed_fn, hooks): argument
297 assert estimator._config._distribute_coordinator_mode
298 run_config = estimator._config
299 assert estimator._config.cluster_spec
301 estimator._config.cluster_spec)
302 assert estimator._config._train_distribute
[all …]
/external/tensorflow/tensorflow/contrib/gan/python/estimator/
D__init__.py27 from tensorflow.contrib.gan.python.estimator.python import gan_estimator
28 from tensorflow.contrib.gan.python.estimator.python import head
29 from tensorflow.contrib.gan.python.estimator.python import latent_gan_estimator
30 from tensorflow.contrib.gan.python.estimator.python import stargan_estimator
31 from tensorflow.contrib.gan.python.estimator.python import tpu_gan_estimator
33 from tensorflow.contrib.gan.python.estimator.python.gan_estimator import *
34 from tensorflow.contrib.gan.python.estimator.python.head import *
35 from tensorflow.contrib.gan.python.estimator.python.latent_gan_estimator import *
36 from tensorflow.contrib.gan.python.estimator.python.stargan_estimator import *
37 from tensorflow.contrib.gan.python.estimator.python.tpu_gan_estimator import *
/external/tensorflow/tensorflow/contrib/predictor/
Dpredictor_factories_test.py57 estimator = testing_common.get_arithmetic_estimator(core=False)
60 estimator, input_fn, output_alternative_key='sum')
63 estimator = testing_common.get_arithmetic_estimator(core=False)
66 estimator, input_fn, output_alternative_key='sum',
70 estimator = testing_common.get_arithmetic_estimator(core=True)
73 predictor_factories.from_contrib_estimator(estimator, input_fn)
76 estimator = testing_common.get_arithmetic_estimator(core=True)
78 predictor_factories.from_estimator(estimator, input_fn)
81 estimator = testing_common.get_arithmetic_estimator(core=True)
84 estimator, input_fn, config=config_pb2.ConfigProto())
[all …]
Dpredictor_factories.py25 from tensorflow.contrib.learn.python.learn.estimators import estimator as contrib_estimator
26 from tensorflow.python.estimator import estimator as core_estimator
29 def from_contrib_estimator(estimator, argument
57 if isinstance(estimator, core_estimator.Estimator):
63 estimator,
71 def from_estimator(estimator, argument
95 if isinstance(estimator, contrib_estimator.Estimator):
101 estimator,
Dcore_estimator_predictor.py23 from tensorflow.python.estimator import model_fn
30 serving_input_receiver, estimator, output_key=None): argument
35 estimator_spec = estimator.model_fn(
37 estimator.config)
51 estimator, argument
72 serving_input_receiver, estimator, output_key)
73 checkpoint_dir = estimator.model_dir
/external/tensorflow/tensorflow/contrib/distribute/python/examples/
Dsimple_estimator_example.py41 if mode == tf.estimator.ModeKeys.PREDICT:
43 return tf.estimator.EstimatorSpec(mode, predictions=predictions)
49 if mode == tf.estimator.ModeKeys.EVAL:
52 return tf.estimator.EstimatorSpec(
55 assert mode == tf.estimator.ModeKeys.TRAIN
59 return tf.estimator.EstimatorSpec(mode, loss=loss_fn(), train_op=train_op)
67 config = tf.estimator.RunConfig(train_distribute=distribution,
77 estimator = tf.estimator.Estimator(
79 estimator.train(input_fn=train_input_fn, steps=steps)
86 eval_result = estimator.evaluate(input_fn=eval_input_fn, steps=steps)
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_single_stream.cc40 estimator(options), in Detector()
44 OveruseEstimator estimator; member
92 Detector* estimator = it->second; in IncomingPacket() local
93 estimator->last_packet_time_ms = now_ms; in IncomingPacket()
95 const BandwidthUsage prior_state = estimator->detector.State(); in IncomingPacket()
99 if (estimator->inter_arrival.ComputeDeltas(rtp_timestamp, arrival_time_ms, in IncomingPacket()
103 estimator->estimator.Update(time_delta, timestamp_delta_ms, size_delta, in IncomingPacket()
104 estimator->detector.State()); in IncomingPacket()
105 estimator->detector.Detect(estimator->estimator.offset(), in IncomingPacket()
107 estimator->estimator.num_of_deltas(), now_ms); in IncomingPacket()
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dexport_strategy_test.py29 def _export_fn(estimator, export_path): argument
30 self.assertTupleEqual((estimator, export_path), (None, None))
39 def _ckpt_export_fn(estimator, export_path, checkpoint_path): argument
40 self.assertTupleEqual((estimator, export_path), (None, None))
50 def _ckpt_eval_export_fn(estimator, export_path, checkpoint_path, argument
52 self.assertTupleEqual((estimator, export_path), (None, None))
63 def _eval_export_fn(estimator, export_path, eval_result): argument
64 del estimator, export_path, eval_result
75 def _strip_default_attrs_export_fn(estimator, export_path, argument
77 self.assertTupleEqual((estimator, export_path), (None, None))
/external/tensorflow/tensorflow/contrib/distribute/python/
Destimator_integration_test.py30 from tensorflow.python.estimator import run_config
31 from tensorflow.python.estimator import training
32 from tensorflow.python.estimator.canned import dnn_linear_combined
33 from tensorflow.python.estimator.canned import prediction_keys
34 from tensorflow.python.estimator.export import export
35 from tensorflow.python.estimator.inputs import numpy_io
96 estimator = dnn_linear_combined.DNNLinearCombinedRegressor(
111 estimator,
115 estimator.train(train_input_fn, steps=num_steps)
116 scores = estimator.evaluate(eval_input_fn)
[all …]
Destimator_training_test.py42 from tensorflow.python.estimator import exporter as exporter_lib
43 from tensorflow.python.estimator import run_config as run_config_lib
44 from tensorflow.python.estimator import training as estimator_training
45 from tensorflow.python.estimator.canned import dnn_linear_combined
46 from tensorflow.python.estimator.canned import prediction_keys
47 from tensorflow.python.estimator.export import export as export_lib
162 estimator = self._get_estimator(train_distribute, eval_distribute,
196 estimator,
200 estimator.train(train_input_fn, max_steps=MAX_STEPS)
202 latest_ckpt_path = estimator.latest_checkpoint()
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator_test.py44 from tensorflow.contrib.learn.python.learn.estimators import estimator
267 est = estimator.Estimator(model_fn=resource_constant_model_fn)
350 est = estimator.Estimator(
383 est = estimator.Estimator(
408 est = estimator.Estimator(
424 est = estimator.Estimator(model_fn=_invalid_model_fn)
442 est = estimator.Estimator(model_fn=_invalid_model_fn)
458 est = estimator.Estimator(model_fn=_invalid_model_fn)
485 est = estimator.Estimator(model_fn=_model_fn_scaffold)
509 est = estimator.Estimator(model_fn=_model_fn_scaffold)
[all …]
/external/tensorflow/tensorflow/python/estimator/
Destimator.py26 from tensorflow_estimator.python.estimator import estimator
30 estimator.__all__ = [s for s in dir(estimator) if not s.startswith('__')]
32 from tensorflow_estimator.python.estimator.estimator import *
DBUILD21 ":estimator",
76 ":estimator",
101 ":estimator",
117 ":estimator",
130 ":estimator",
143 ":estimator",
159 ":estimator",
179 ":estimator",
203 name = "estimator",
205 "estimator.py",
[all …]
/external/tensorflow/tensorflow/contrib/gan/
DBUILD19 ":estimator",
103 name = "estimator",
104 srcs = ["python/estimator/__init__.py"],
462 "python/estimator/python/head.py",
463 "python/estimator/python/head_impl.py",
471 "//tensorflow/python/estimator:estimator_py",
477 srcs = ["python/estimator/python/head_test.py"],
488 "//tensorflow/python/estimator:estimator_py",
495 "python/estimator/python/gan_estimator.py",
496 "python/estimator/python/gan_estimator_impl.py",
[all …]
/external/grpc-grpc/test/core/transport/
Dbdp_estimator_test.cc60 void AddSamples(BdpEstimator* estimator, int64_t* samples, size_t n) { in AddSamples() argument
61 estimator->AddIncomingBytes(1234567); in AddSamples()
64 estimator->SchedulePing(); in AddSamples()
65 estimator->StartPing(); in AddSamples()
67 estimator->AddIncomingBytes(samples[i]); in AddSamples()
72 estimator->CompletePing(); in AddSamples()
75 void AddSample(BdpEstimator* estimator, int64_t sample) { in AddSample() argument
76 AddSamples(estimator, &sample, 1); in AddSample()
/external/tensorflow/tensorflow/examples/learn/
Diris_custom_model.py43 if mode == tf.estimator.ModeKeys.PREDICT:
48 return tf.estimator.EstimatorSpec(mode, predictions=predictions)
54 if mode == tf.estimator.ModeKeys.TRAIN:
57 return tf.estimator.EstimatorSpec(mode, loss=loss, train_op=train_op)
64 return tf.estimator.EstimatorSpec(
73 classifier = tf.estimator.Estimator(model_fn=my_model)
76 train_input_fn = tf.compat.v1.estimator.inputs.numpy_input_fn(
81 test_input_fn = tf.compat.v1.estimator.inputs.numpy_input_fn(
Diris_custom_decay_dnn.py42 if mode == tf.estimator.ModeKeys.PREDICT:
47 return tf.estimator.EstimatorSpec(mode, predictions=predictions)
53 if mode == tf.estimator.ModeKeys.TRAIN:
60 return tf.estimator.EstimatorSpec(mode, loss=loss, train_op=train_op)
67 return tf.estimator.EstimatorSpec(
76 classifier = tf.estimator.Estimator(model_fn=my_model)
79 train_input_fn = tf.compat.v1.estimator.inputs.numpy_input_fn(
84 test_input_fn = tf.compat.v1.estimator.inputs.numpy_input_fn(
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Ddnn_tree_combined_estimator_test.py23 …om tensorflow.contrib.boosted_trees.estimator_batch import dnn_tree_combined_estimator as estimator unknown
28 from tensorflow.python.estimator import exporter
29 from tensorflow.python.estimator.canned import head as head_lib
30 from tensorflow.python.estimator.export import export
62 self, estimator.DNNBoostedTreeCombinedClassifier)
66 self, estimator.DNNBoostedTreeCombinedRegressor)
70 self, estimator.DNNBoostedTreeCombinedEstimator)
79 classifier = estimator.DNNBoostedTreeCombinedClassifier(
95 classifier = estimator.DNNBoostedTreeCombinedClassifier(
118 classifier = estimator.DNNBoostedTreeCombinedClassifier(
[all …]
Destimator_test.py23 from tensorflow.contrib.boosted_trees.estimator_batch import estimator
27 from tensorflow.python.estimator.canned import head as head_lib
28 from tensorflow.python.estimator.inputs import numpy_io
151 classifier = estimator.GradientBoostedDecisionTreeClassifier(
170 classifier = estimator.GradientBoostedDecisionTreeClassifier(
196 model = estimator.GradientBoostedDecisionTreeEstimator(
217 classifier = estimator.GradientBoostedDecisionTreeClassifier(
237 regressor = estimator.GradientBoostedDecisionTreeRegressor(
260 model = estimator.GradientBoostedDecisionTreeRanker(
285 classifier = estimator.GradientBoostedDecisionTreeClassifier(
[all …]
/external/tensorflow/tensorflow/examples/tutorials/layers/
Dcnn_mnist.py82 inputs=dense, rate=0.4, training=mode == tf.estimator.ModeKeys.TRAIN)
96 if mode == tf.estimator.ModeKeys.PREDICT:
97 return tf.estimator.EstimatorSpec(mode=mode, predictions=predictions)
103 if mode == tf.estimator.ModeKeys.TRAIN:
108 return tf.estimator.EstimatorSpec(mode=mode, loss=loss, train_op=train_op)
114 return tf.estimator.EstimatorSpec(
127 mnist_classifier = tf.estimator.Estimator(
137 train_input_fn = tf.compat.v1.estimator.inputs.numpy_input_fn(
149 eval_input_fn = tf.compat.v1.estimator.inputs.numpy_input_fn(
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.experimental.pbtxt1 path: "tensorflow.estimator.experimental"
29 …argspec: "args=[\'estimator\', \'should_stop_fn\', \'run_every_secs\', \'run_every_steps\'], varar…
33 …argspec: "args=[\'estimator\', \'last_step\', \'wait_after_file_check_secs\'], varargs=None, keywo…
37 …argspec: "args=[\'estimator\', \'metric_name\', \'threshold\', \'eval_dir\', \'min_steps\', \'run_…
41 …argspec: "args=[\'estimator\', \'metric_name\', \'threshold\', \'eval_dir\', \'min_steps\', \'run_…
45 …argspec: "args=[\'estimator\', \'metric_name\', \'max_steps_without_decrease\', \'eval_dir\', \'mi…
49 …argspec: "args=[\'estimator\', \'metric_name\', \'max_steps_without_increase\', \'eval_dir\', \'mi…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.experimental.pbtxt1 path: "tensorflow.estimator.experimental"
29 …argspec: "args=[\'estimator\', \'should_stop_fn\', \'run_every_secs\', \'run_every_steps\'], varar…
33 …argspec: "args=[\'estimator\', \'last_step\', \'wait_after_file_check_secs\'], varargs=None, keywo…
37 …argspec: "args=[\'estimator\', \'metric_name\', \'threshold\', \'eval_dir\', \'min_steps\', \'run_…
41 …argspec: "args=[\'estimator\', \'metric_name\', \'threshold\', \'eval_dir\', \'min_steps\', \'run_…
45 …argspec: "args=[\'estimator\', \'metric_name\', \'max_steps_without_decrease\', \'eval_dir\', \'mi…
49 …argspec: "args=[\'estimator\', \'metric_name\', \'max_steps_without_increase\', \'eval_dir\', \'mi…

12345678910>>...16