Home
last modified time | relevance | path

Searched refs:cell_clip (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/
Dlstm_test.cc39 bool use_projection_bias, float cell_clip, float proj_clip, in LSTMOpModel() argument
134 cell_clip, proj_clip) in LSTMOpModel()
1635 const float cell_clip = 0.0; in TEST_F() local
1642 /*use_projection_bias=*/false, cell_clip, proj_clip, in TEST_F()
1702 const float cell_clip = 0.0; in TEST_F() local
1709 /*use_projection_bias=*/false, cell_clip, proj_clip, in TEST_F()
1769 const float cell_clip = 0.0; in TEST_F() local
1776 /*use_projection_bias=*/false, cell_clip, proj_clip, in TEST_F()
1881 const float cell_clip = 0.0; in TEST_F() local
1888 /*use_projection_bias=*/false, cell_clip, proj_clip, in TEST_F()
[all …]
Doptional_tensor_test.cc35 bool use_projection_bias, float cell_clip, float proj_clip, in LSTMOpModel() argument
108 cell_clip, proj_clip) in LSTMOpModel()
Dunidirectional_sequence_lstm_test.cc37 bool use_projection_bias, float cell_clip, in UnidirectionalLSTMOpModel() argument
133 builder_, ActivationFunctionType_TANH, cell_clip, in UnidirectionalLSTMOpModel()
293 bool use_projection_weights, bool use_projection_bias, float cell_clip, in HybridUnidirectionalLSTMOpModel() argument
299 cell_clip, proj_clip, input_shapes, tensor_type) { in HybridUnidirectionalLSTMOpModel()
2470 bool use_projection_weights, bool use_projection_bias, float cell_clip, in LayerNormUnidirectionalLSTMOpModel() argument
2476 cell_clip, proj_clip, input_shapes, TensorType_FLOAT32, true) {} in LayerNormUnidirectionalLSTMOpModel()
Dunidirectional_sequence_lstm.cc119 TF_LITE_ENSURE(context, params->cell_clip >= 0); in CheckInputTensorDimensions()
601 lstm_params.cell_clip = params->cell_clip; in Eval()
Dlstm.cc66 const float cell_clip = params->cell_clip; in PopulateQuantizedLstmParams() local
78 if (cell_clip > 0.0) { in PopulateQuantizedLstmParams()
80 std::min(std::max(cell_clip / cell_params->scale->data[0], -32768.0f), in PopulateQuantizedLstmParams()
389 TF_LITE_ENSURE(context, params->cell_clip >= 0); in CheckInputTensorDimensions()
Dlstm_eval.cc299 if (params->cell_clip > 0.0) { in LstmStepFloat()
301 params->cell_clip, cell_state_ptr); in LstmStepFloat()
730 if (params->cell_clip > 0.0) { in LstmStepHybrid()
732 params->cell_clip, cell_state_ptr); in LstmStepHybrid()
/external/tensorflow/tensorflow/lite/c/
Dbuiltin_op_data.h225 float cell_clip; member
236 float cell_clip; member
247 float cell_clip; member
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/
Dbasic_lstm.mlir6 // CHECK: "tfl.basic_lstm"({{.*}}) {cell_clip = 1.000000e+00 : f32, fused_activation_function = "RE…
8 …%arg0, %arg1, %arg2, %arg3, %arg4) {fused_activation_function = "RELU", cell_clip = 1.0 : f32, pro…
/external/tensorflow/tensorflow/core/kernels/rnn/
Dlstm_ops_gpu.cu.cc88 const float forget_bias, const float cell_clip, in lstm_gates() argument
94 T cell_clip_t = strict_cast<T>(cell_clip); in lstm_gates()
176 if (cell_clip > 0.0f) { in lstm_gates()
229 const float cell_clip, bool use_peephole, typename TTypes<T>::ConstMatrix x, in LSTMBlockCellFpropWithCUDA() argument
274 co.data(), i.data(), f.data(), forget_bias, cell_clip, batch_size, in LSTMBlockCellFpropWithCUDA()
281 co.data(), i.data(), f.data(), forget_bias, cell_clip, batch_size, in LSTMBlockCellFpropWithCUDA()
414 const float cell_clip, bool use_peephole, \
426 ctx, d, forget_bias, cell_clip, use_peephole, x, cs_prev, h_prev, w, \
Dlstm_ops.cc47 const float forget_bias, const float cell_clip, bool use_peephole, in LSTMBlockCellFpropWithEigen() argument
106 if (cell_clip > 0.0f) { in LSTMBlockCellFpropWithEigen()
108 cs.binaryExpr(cs.constant(T(cell_clip)), Eigen::scalar_clip_op<T>()); in LSTMBlockCellFpropWithEigen()
192 const float cell_clip, bool use_peephole, \
204 *this, ctx, d, forget_bias, cell_clip, use_peephole, x, cs_prev, \
252 const float cell_clip, bool use_peephole, \
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions.cc424 params->cell_clip = lstm_params->cell_clip(); in ParseOpData()
452 params->cell_clip = seq_lstm_params->cell_clip(); in ParseOpData()
466 params->cell_clip = bidi_lstm_params->cell_clip(); in ParseOpData()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_LSTMBlockCell.pbtxt101 name: "cell_clip"
132 cs = clip(cs, cell_clip)
Dapi_def_BlockLSTM.pbtxt108 name: "cell_clip"
Dapi_def_BlockLSTMV2.pbtxt102 name: "cell_clip"
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/
Dbasic_lstm.mlir83 // CHECK-NEXT: cell_clip: 1.0,
115 …%arg0, %arg1, %arg2, %arg3, %arg4) {fused_activation_function = "RELU", cell_clip = 1.0 : f32, pro…
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DBlockLSTMV2.pbtxt68 name: "cell_clip"
DLSTMBlockCell.pbtxt71 name: "cell_clip"
DBlockLSTM.pbtxt75 name: "cell_clip"
/external/tensorflow/tensorflow/python/ops/
Drnn_grad_test.py54 cell_clip=0.0), # Disable to match V2 default.
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Drnn_cell.py195 cell_clip=None, argument
263 self._cell_clip = cell_clip
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dprepare-composite-functions-tf.mlir89 // CHECK: }) {cell_clip = 1.000000e+01 : f32, fused_activation_function = "TANH", kernel_…
149 // CHECK: }) {cell_clip = 1.000000e+01 : f32, fused_activation_function = "TANH", kernel_…
184 // CHECK: }) {cell_clip = 1.000000e+01 : f32, fused_activation_function = "TANH", kernel_…
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/builtin_logging_ops/
Dlstm.cc220 if (params->cell_clip > 0.0) { in LstmStepWithAuxInput()
222 params->cell_clip, cell_state_ptr); in LstmStepWithAuxInput()
/external/tensorflow/tensorflow/lite/schema/
Dschema_v0.fbs195 cell_clip: float; // Optional, 0.0 means no clipping
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.lite.experimental.nn.-t-f-lite-l-s-t-m-cell.pbtxt134 …argspec: "args=[\'self\', \'num_units\', \'use_peepholes\', \'cell_clip\', \'initializer\', \'num_…
Dtensorflow.nn.rnn_cell.-l-s-t-m-cell.pbtxt134 …argspec: "args=[\'self\', \'num_units\', \'use_peepholes\', \'cell_clip\', \'initializer\', \'num_…

12