Home
last modified time | relevance | path

Searched refs:cell_to_forget_weights (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dlstm_eval.h108 const TfLiteTensor* cell_to_forget_weights,
144 const TfLiteTensor* cell_to_forget_weights,
182 const TfLiteTensor* cell_to_forget_weights,
208 const TfLiteTensor* cell_to_forget_weights,
Dunidirectional_sequence_lstm.cc128 const TfLiteTensor* cell_to_forget_weights = GetOptionalInputTensor( in PopulateQuantizedLstmParams8x8_16() local
229 cell_to_forget_weight_scale = cell_to_forget_weights->params.scale; in PopulateQuantizedLstmParams8x8_16()
496 const TfLiteTensor* cell_to_forget_weights = GetOptionalInputTensor( in CheckInputTensorDimensions() local
498 if (cell_to_forget_weights != nullptr) { in CheckInputTensorDimensions()
499 TF_LITE_ENSURE_EQ(context, cell_to_forget_weights->dims->size, 1); in CheckInputTensorDimensions()
500 TF_LITE_ENSURE_EQ(context, cell_to_forget_weights->dims->data[0], n_cell); in CheckInputTensorDimensions()
502 context, cell_to_forget_weights->type, in CheckInputTensorDimensions()
520 (cell_to_forget_weights != nullptr) && in CheckInputTensorDimensions()
523 (cell_to_forget_weights == nullptr) && in CheckInputTensorDimensions()
1253 const TfLiteTensor* cell_to_forget_weights = GetOptionalInputTensor( in Eval() local
[all …]
Dlstm.cc213 const TfLiteTensor* cell_to_forget_weights = in PopulateQuantizedLstmParams8x8_16() local
314 cell_to_forget_weight_scale = cell_to_forget_weights->params.scale; in PopulateQuantizedLstmParams8x8_16()
501 const TfLiteTensor* cell_to_forget_weights = in PopulateQuantizedLstmParams8x8_8() local
623 cell_to_forget_weight_ptr = cell_to_forget_weights->data.int8; in PopulateQuantizedLstmParams8x8_8()
625 cell_to_forget_weight_scale = cell_to_forget_weights->params.scale; in PopulateQuantizedLstmParams8x8_8()
950 const TfLiteTensor* cell_to_forget_weights = in CheckInputTensorDimensions() local
952 if (cell_to_forget_weights) { in CheckInputTensorDimensions()
953 TF_LITE_ENSURE_EQ(context, cell_to_forget_weights->dims->size, 1); in CheckInputTensorDimensions()
954 TF_LITE_ENSURE_EQ(context, cell_to_forget_weights->dims->data[0], n_cell); in CheckInputTensorDimensions()
956 context, cell_to_forget_weights->type, in CheckInputTensorDimensions()
[all …]
Dlstm_eval.cc1697 const TfLiteTensor* cell_to_forget_weights, in EvalFloat() argument
1784 GetTensorData<float>(cell_to_forget_weights), in EvalFloat()
1845 GetTensorData<float>(cell_to_forget_weights), in EvalFloat()
1886 const TfLiteTensor* cell_to_forget_weights, in EvalHybrid() argument
2013 GetTensorData<int8_t>(cell_to_forget_weights), in EvalHybrid()
2014 GetTensorScale(cell_to_forget_weights), in EvalHybrid()
2111 GetTensorData<int8_t>(cell_to_forget_weights), in EvalHybrid()
2112 GetTensorScale(cell_to_forget_weights), in EvalHybrid()
2160 const TfLiteTensor* cell_to_forget_weights, in EvalInteger8x8_16() argument
2233 GetTensorData<int16_t>(cell_to_forget_weights), in EvalInteger8x8_16()
[all …]
Dbidirectional_sequence_lstm.cc290 const TfLiteTensor* cell_to_forget_weights = in CheckLstmTensorDimensionsAndTypes() local
292 if (cell_to_forget_weights != nullptr) { in CheckLstmTensorDimensionsAndTypes()
293 TF_LITE_ENSURE_EQ(context, cell_to_forget_weights->dims->size, 1); in CheckLstmTensorDimensionsAndTypes()
294 TF_LITE_ENSURE_EQ(context, cell_to_forget_weights->dims->data[0], n_cell); in CheckLstmTensorDimensionsAndTypes()
295 TF_LITE_ENSURE_TYPES_EQ(context, cell_to_forget_weights->type, in CheckLstmTensorDimensionsAndTypes()
312 (cell_to_forget_weights != nullptr) && in CheckLstmTensorDimensionsAndTypes()
315 (cell_to_forget_weights == nullptr) && in CheckLstmTensorDimensionsAndTypes()
Dlstm_test.cc1804 const std::vector<float> cell_to_forget_weights = {0.2, -0.1, 0.1, -0.2}; in TEST() local
1888 lstm.SetCellToForgetWeights(cell_to_forget_weights); in TEST()
Dunidirectional_sequence_lstm_test.cc3236 const std::vector<float> cell_to_forget_weights = {0.2, -0.1, 0.1, -0.2}; in TEST() local
3320 lstm.SetCellToForgetWeights(cell_to_forget_weights); in TEST()
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/builtin_logging_ops/
Dlstm.cc273 const TfLiteTensor* cell_to_forget_weights, in EvalCalibration() argument
362 GetTensorData<float>(cell_to_forget_weights), in EvalCalibration()
424 GetTensorData<float>(cell_to_forget_weights), in EvalCalibration()
515 const TfLiteTensor* cell_to_forget_weights = GetOptionalInputTensor( in lstm_eval() local
612 cell_to_input_weights, cell_to_forget_weights, cell_to_output_weights, in lstm_eval()
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/custom_logging_ops/
Dlstm.cc341 const TfLiteTensor* cell_to_forget_weights, in EvalFloat() argument
431 GetTensorData<float>(cell_to_forget_weights), in EvalFloat()
493 GetTensorData<float>(cell_to_forget_weights), in EvalFloat()
559 const TfLiteTensor* cell_to_forget_weights = GetOptionalInputTensor( in lstm_eval() local
616 cell_to_input_weights, cell_to_forget_weights, cell_to_output_weights, in lstm_eval()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
Dlstm_full_test.cc49 std::initializer_list<float> cell_to_forget_weights, in LSTMOpModel() argument
94 AddConstInput({weight_type, {n_cell}}, cell_to_forget_weights); in LSTMOpModel()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dload_quantization_recipe.cc162 {lstm.input_cell_state(), lstm.cell_to_forget_weights()}), in LoadForLSTMOp()
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.td3802 TFL_OperandIsNoneOrHasRank<10, 1>, // cell_to_forget_weights
3849 TFL_TensorOfOrNone<[F32, QI8, QI16]>:$cell_to_forget_weights,
3933 TFL_OperandIsNoneOrHasRank<10, 1>, // cell_to_forget_weights
3973 TFL_TensorOfOrNone<[F32, QI8]>:$cell_to_forget_weights,