Home
last modified time | relevance | path

Searched refs:predict (Results 1 – 25 of 217) sorted by relevance

123456789

/external/libvpx/libvpx/vp9/common/
Dvp9_scale.c82 sf->predict[0][0][0] = vpx_convolve_copy;
83 sf->predict[0][0][1] = vpx_convolve_avg;
84 sf->predict[0][1][0] = vpx_convolve8_vert;
85 sf->predict[0][1][1] = vpx_convolve8_avg_vert;
86 sf->predict[1][0][0] = vpx_convolve8_horiz;
87 sf->predict[1][0][1] = vpx_convolve8_avg_horiz;
90 sf->predict[0][0][0] = vpx_scaled_vert;
91 sf->predict[0][0][1] = vpx_scaled_avg_vert;
92 sf->predict[0][1][0] = vpx_scaled_vert;
93 sf->predict[0][1][1] = vpx_scaled_avg_vert;
[all …]
/external/libvpx/libvpx/test/
Didct_test.cc36 predict = new Buffer<uint8_t>(4, 4, 3); in SetUp()
37 ASSERT_TRUE(predict != NULL); in SetUp()
38 ASSERT_TRUE(predict->Init()); in SetUp()
46 delete predict; in TearDown()
53 Buffer<uint8_t> *predict; member in __anon2bbbae5c0111::IDCTTest
60 predict->Set(0); in TEST_P()
63 ASM_REGISTER_STATE_CHECK(UUT(input->TopLeftPixel(), predict->TopLeftPixel(), in TEST_P()
64 predict->stride(), output->TopLeftPixel(), in TEST_P()
77 predict->Set(0); in TEST_P()
80 ASM_REGISTER_STATE_CHECK(UUT(input->TopLeftPixel(), predict->TopLeftPixel(), in TEST_P()
[all …]
/external/webp/src/enc/
Dpredictor_enc.c150 static uint8_t NearLosslessComponent(uint8_t value, uint8_t predict, in NearLosslessComponent() argument
152 const int residual = (value - predict) & 0xff; in NearLosslessComponent()
153 const int boundary_residual = (boundary - predict) & 0xff; in NearLosslessComponent()
186 static uint32_t NearLossless(uint32_t value, uint32_t predict, in NearLossless() argument
194 return VP8LSubPixels(value, predict); in NearLossless()
202 a = NEAR_LOSSLESS_DIFF(value >> 24, predict >> 24); in NearLossless()
204 a = NearLosslessComponent(value >> 24, predict >> 24, 0xff, quantization); in NearLossless()
206 g = NearLosslessComponent((value >> 8) & 0xff, (predict >> 8) & 0xff, 0xff, in NearLossless()
211 new_green = ((predict >> 8) + g) & 0xff; in NearLossless()
218 (predict >> 16) & 0xff, 0xff - new_green, in NearLossless()
[all …]
/external/tensorflow/tensorflow/contrib/estimator/python/estimator/
Dextenders_test.py174 self.assertNotIn('id', next(estimator.predict(input_fn=input_fn)))
176 predictions = next(estimator.predict(input_fn=input_fn))
188 self.assertNotIn('id', next(estimator.predict(input_fn=input_fn)))
190 predictions = next(estimator.predict(input_fn=input_fn))
204 self.assertNotIn('id', next(estimator.predict(input_fn=input_fn)))
205 self.assertNotIn('x', next(estimator.predict(input_fn=input_fn)))
207 predictions = next(estimator.predict(input_fn=input_fn))
234 next(estimator.predict(input_fn=input_fn))
254 next(estimator.predict(input_fn=input_fn))
275 next(estimator.predict(input_fn=input_fn))
[all …]
/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/
Dconvolutional_recurrent_test.py66 state = model.predict(inputs)
107 out1 = model.predict(np.ones_like(inputs))
112 out2 = model.predict(np.ones_like(inputs))
120 out3 = model.predict(np.ones_like(inputs))
125 out4 = model.predict(np.ones_like(inputs))
129 out5 = model.predict(np.ones_like(inputs))
Drecurrent_test.py148 y_np = model.predict(x_np)
156 y_np_2 = model.predict(x_np)
171 y_np = model.predict(x_np)
179 y_np_2 = model.predict(x_np)
243 y_np = model.predict([x_np, c_np])
252 y_np_2 = model.predict([x_np, c_np])
262 y_np_3 = model.predict([x_np, c_np])
283 y_np = model.predict([x_np, c_np])
291 y_np_2 = model.predict([x_np, c_np])
357 y_np = model.predict([x_np, s_np, c_np])
[all …]
Dgru_test.py101 out1 = model.predict(np.ones((num_samples, timesteps)))
107 out2 = model.predict(np.ones((num_samples, timesteps)))
115 out3 = model.predict(np.ones((num_samples, timesteps)))
120 out4 = model.predict(np.ones((num_samples, timesteps)))
124 out5 = model.predict(np.ones((num_samples, timesteps)))
133 out6 = model.predict(left_padded_input)
140 out7 = model.predict(right_padded_input)
Dsimplernn_test.py101 out1 = model.predict(np.ones((num_samples, timesteps)))
107 out2 = model.predict(np.ones((num_samples, timesteps)))
115 out3 = model.predict(np.ones((num_samples, timesteps)))
120 out4 = model.predict(np.ones((num_samples, timesteps)))
124 out5 = model.predict(np.ones((num_samples, timesteps)))
133 out6 = model.predict(left_padded_input)
140 out7 = model.predict(right_padded_input)
Dmerge_test.py43 out = model.predict([x1, x2, x3])
87 out = model.predict([x1, x2, x3])
101 out = model.predict([x1, x2])
115 out = model.predict([x1, x2])
129 out = model.predict([x1, x2])
143 out = model.predict([x1, x2])
176 out = model.predict([x1, x2])
187 out = model.predict([x1, x2])
Dlstm_test.py117 out1 = model.predict(np.ones((num_samples, timesteps)))
123 out2 = model.predict(np.ones((num_samples, timesteps)))
131 out3 = model.predict(np.ones((num_samples, timesteps)))
136 out4 = model.predict(np.ones((num_samples, timesteps)))
140 out5 = model.predict(np.ones((num_samples, timesteps)))
149 out6 = model.predict(left_padded_input)
156 out7 = model.predict(right_padded_input)
337 state = model.predict(inputs)
355 outputs = model.predict(inputs)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator_input_test.py199 predictions = np.array(list(est2.predict(x=boston_input)))
215 predictions = np.array(list(est.predict(x=boston.data)))
233 predictions = np.array(list(est.predict(x=boston_input)))
250 predictions = est.predict(x=iris.data)
251 predictions_class = est.predict(x=iris.data, outputs=['class'])['class']
273 predictions = list(est.predict(x=iris_data))
274 predictions_class = list(est.predict(x=iris_data, outputs=['class']))
292 predictions = list(est.predict(x=iris.data))
309 predictions = list(est.predict(x=iris.data))
322 output = list(est.predict(input_fn=input_fn))
[all …]
Ddnn.py389 def predict(self, x=None, input_fn=None, batch_size=None, outputs=None, member in DNNClassifier
419 return super(DNNClassifier, self).predict(
449 preds = super(DNNClassifier, self).predict(
484 preds = super(DNNClassifier, self).predict(
701 def predict(self, x=None, input_fn=None, batch_size=None, outputs=None, member in DNNRegressor
731 return super(DNNRegressor, self).predict(
761 preds = super(DNNRegressor, self).predict(
Destimators_test.py71 prediction = next(estimator.predict(input_fn=input_fn, as_iterable=True))
111 prediction = next(estimator.predict(input_fn=input_fn, as_iterable=True))
157 estimator_with_fe_fn.predict(input_fn=input_fn, as_iterable=True))
160 estimator_without_fe_fn.predict(input_fn=input_fn, as_iterable=True))
Dlinear.py499 def predict(self, x=None, input_fn=None, batch_size=None, outputs=None, member in LinearClassifier
529 return super(LinearClassifier, self).predict(
558 preds = super(LinearClassifier, self).predict(
589 preds = super(LinearClassifier, self).predict(
766 def predict(self, x=None, input_fn=None, batch_size=None, outputs=None, member in LinearRegressor
796 return super(LinearRegressor, self).predict(
825 preds = super(LinearRegressor, self).predict(
Ddebug.py213 preds = self.predict(
230 preds = self.predict(
323 preds = self.predict(
Ddnn_linear_combined.py707 def predict(self, x=None, input_fn=None, batch_size=None, outputs=None, member in DNNLinearCombinedClassifier
737 return super(DNNLinearCombinedClassifier, self).predict(
766 preds = super(DNNLinearCombinedClassifier, self).predict(
797 preds = super(DNNLinearCombinedClassifier, self).predict(
1057 def predict(self, x=None, input_fn=None, batch_size=None, outputs=None, member in DNNLinearCombinedRegressor
1087 return super(DNNLinearCombinedRegressor, self).predict(
1116 preds = super(DNNLinearCombinedRegressor, self).predict(
/external/tensorflow/tensorflow/python/keras/_impl/keras/
Dmodels_test.py56 out = model.predict(x)
64 out2 = new_model.predict(x)
72 out = model.predict(x)
73 out2 = new_model.predict(x)
98 out = model.predict(x)
109 out2 = model.predict(x)
129 out = model.predict(x)
137 out2 = model.predict(x)
279 ref_y = model.predict(x)
287 y = model.predict(x)
[all …]
Dtesting_utils.py121 actual_output = model.predict(input_data)
144 output = recovered_model.predict(input_data)
158 actual_output = model.predict(input_data)
181 output = recovered_model.predict(input_data)
/external/tensorflow/tensorflow/python/keras/_impl/keras/applications/
Dimagenet_utils_test.py52 assert model.predict(x).shape == x.shape
58 out1 = model1.predict(x)
66 out2 = model2.predict(x2)
75 assert model.predict(x[np.newaxis])[0].shape == x.shape
81 out1 = model1.predict(x[np.newaxis])[0]
88 out2 = model2.predict(x2[np.newaxis])[0]
/external/tensorflow/tensorflow/contrib/timeseries/examples/
Dpredict_test.py23 from tensorflow.contrib.timeseries.examples import predict
36 ) = predict.structural_ensemble_train_and_predict(_DATA_FILE)
53 upper_limit, lower_limit) = predict.ar_train_and_predict(_DATA_FILE)
DBUILD12 name = "predict",
13 srcs = ["predict.py"],
30 ":predict",
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/ops/
Dpredict.cc40 namespace predict { namespace
167 static TfLiteRegistration r = {predict::Init, predict::Free, predict::Prepare, in Register_PREDICT()
168 predict::Eval}; in Register_PREDICT()
/external/tensorflow/tensorflow/python/keras/_impl/keras/wrappers/
Dscikit_learn.py88 Sequential.fit, Sequential.predict, Sequential.predict_classes,
226 def predict(self, x, **kwargs): member in KerasClassifier
319 def predict(self, x, **kwargs): member in KerasRegressor
333 kwargs = self.filter_sk_params(Sequential.predict, kwargs)
334 return np.squeeze(self.model.predict(x, **kwargs))
/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/
Dtraining_test.py295 out = model.predict([input_a_np, input_b_np], batch_size=5)
297 out = model.predict({'input_a': input_a_np, 'input_b': input_b_np})
352 model.predict(test_inputs, batch_size=2)
374 x1 = model.predict(val_a)
376 x2 = model.predict(val_a)
384 x2 = model.predict(val_a)
391 x1 = model.predict(val_a)
393 x2 = model.predict(val_a)
748 out = model.predict(x)
750 out_2 = model.predict(x)
[all …]
/external/tensorflow/tensorflow/python/estimator/
Destimator_test.py109 def predict(self, input_fn, predict_keys=None, hooks=None): member in EstimatorInheritanceConstraintTest.test_override_a_method._Estimator
125 def predict(self, input_fn, predict_keys=None, hooks=None): member in EstimatorInheritanceConstraintTest.test_override_a_method_with_tricks._Estimator
1001 self.assertEqual([10.], next(est.predict(input_fn=_input_fn)))
1021 self.assertEqual([1., 2.], list(est.predict(_input_fn)))
1328 next(est.predict(_input_fn))
1335 next(est.predict(dummy_input_fn))
1341 est.predict(
1357 self.assertEqual(10., next(est.predict(dummy_input_fn)))
1375 next(est.predict(dummy_input_fn))
1391 next(est.predict(dummy_input_fn))
[all …]

123456789