Home
last modified time | relevance | path

Searched refs:projection_weights (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dunidirectional_sequence_lstm.cc221 const TfLiteTensor* projection_weights = in CheckInputTensorDimensions() local
223 if (projection_weights != nullptr) { in CheckInputTensorDimensions()
224 TF_LITE_ENSURE_EQ(context, projection_weights->dims->size, 2); in CheckInputTensorDimensions()
225 TF_LITE_ENSURE_EQ(context, projection_weights->dims->data[0], n_output); in CheckInputTensorDimensions()
226 TF_LITE_ENSURE_EQ(context, projection_weights->dims->data[1], n_cell); in CheckInputTensorDimensions()
242 ((projection_weights != nullptr) || (projection_bias == nullptr)); in CheckInputTensorDimensions()
477 const TfLiteTensor* projection_weights = in Eval() local
515 forget_gate_bias, cell_bias, output_gate_bias, projection_weights, in Eval()
547 forget_gate_bias, cell_bias, output_gate_bias, projection_weights, in Eval()
Dlstm_eval.h49 const TfLiteTensor* projection_weights, const TfLiteTensor* projection_bias,
78 const TfLiteTensor* projection_weights, const TfLiteTensor* projection_bias,
Dlstm.cc238 const TfLiteTensor* projection_weights = in CheckInputTensorDimensions() local
240 if (projection_weights != nullptr) { in CheckInputTensorDimensions()
241 TF_LITE_ENSURE_EQ(context, projection_weights->dims->size, 2); in CheckInputTensorDimensions()
242 TF_LITE_ENSURE_EQ(context, projection_weights->dims->data[0], n_output); in CheckInputTensorDimensions()
243 TF_LITE_ENSURE_EQ(context, projection_weights->dims->data[1], n_cell); in CheckInputTensorDimensions()
259 ((projection_weights != nullptr) || (projection_bias == nullptr)); in CheckInputTensorDimensions()
562 const TfLiteTensor* projection_weights = in Eval() local
593 forget_gate_bias, cell_bias, output_gate_bias, projection_weights, in Eval()
624 forget_gate_bias, cell_bias, output_gate_bias, projection_weights, in Eval()
Dbidirectional_sequence_lstm.cc319 const TfLiteTensor* projection_weights = in CheckLstmTensorDimensionsAndTypes() local
321 if (projection_weights != nullptr) { in CheckLstmTensorDimensionsAndTypes()
322 TF_LITE_ENSURE_EQ(context, projection_weights->dims->size, 2); in CheckLstmTensorDimensionsAndTypes()
323 TF_LITE_ENSURE_EQ(context, projection_weights->dims->data[0], n_output); in CheckLstmTensorDimensionsAndTypes()
324 TF_LITE_ENSURE_EQ(context, projection_weights->dims->data[1], n_cell); in CheckLstmTensorDimensionsAndTypes()
325 TF_LITE_ENSURE_EQ(context, projection_weights->type, in CheckLstmTensorDimensionsAndTypes()
343 ((projection_weights != nullptr) || (projection_bias == nullptr)); in CheckLstmTensorDimensionsAndTypes()
Dlstm_eval.cc893 const TfLiteTensor* projection_weights, const TfLiteTensor* projection_bias, in EvalFloat() argument
960 (projection_weights == nullptr) ? nullptr : projection_weights->data.f; in EvalFloat()
1091 const TfLiteTensor* projection_weights, const TfLiteTensor* projection_bias, in EvalHybrid() argument
1186 (projection_weights == nullptr) in EvalHybrid()
1188 : GetInt8DataPtr(projection_weights, is_uint8_hybrid); in EvalHybrid()
1190 (projection_weights == nullptr) ? 1.0f : projection_weights->params.scale; in EvalHybrid()
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dfactorization_ops.py745 projection_weights=None): argument
767 if projection_weights is None:
768 projection_weights = 1
773 row_weights=projection_weights)[0]
778 projection_weights=None): argument
800 if projection_weights is None:
801 projection_weights = 1
806 row_weights=projection_weights)[0]
Dwals.py319 projection_weights = features.get(
325 projection_weights=projection_weights,
331 projection_weights=projection_weights,
Dwals_test.py83 project_row=None, projection_weights=None, argument
168 if mode == model_fn.ModeKeys.INFER and projection_weights is not None:
170 projection_weights,
293 projection_weights=[[0.2, 0.5]])[0]
310 projection_weights=[[0.6, 0.4, 0.2]])[0]
Dfactorization_ops_test.py219 projection_weights=[0.2, 0.5])
292 projection_weights=[0.6, 0.4, 0.2])
394 projection_weights=[0.5, 0.2])
471 projection_weights=[0.4, 0.7])
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Drnn_cell.py1540 self.projection_weights = self.add_variable(
1616 new_m = math_ops.matmul(new_m, self.projection_weights)