Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ConvertLayerNormalizedLSTMCellSimpleToFusedLSTM (0.74 sec)

  1. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

    class ConvertLayerNormalizedLSTMCellSimpleToFusedLSTM
        : public ConvertLSTMCellSimpleToFusedLSTM {
     public:
      explicit ConvertLayerNormalizedLSTMCellSimpleToFusedLSTM(
          mlir::func::FuncOp fused_func_op)
          : ConvertLSTMCellSimpleToFusedLSTM(fused_func_op) {}
    
      // not copyable.
      ConvertLayerNormalizedLSTMCellSimpleToFusedLSTM(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      weight_slice_size_input_values_ = {n_cell_, n_input_};
      weight_slice_size_recurrent_values_ = {n_cell_, n_output_};
    
      return success();
    }
    
    LogicalResult ConvertLayerNormalizedLSTMCellSimpleToFusedLSTM::Initialize() {
      if (failed(ConvertLSTMCellSimpleToFusedLSTM::Initialize())) {
        return fused_func_op_.emitError()
               << "Specified LayerNormalizedLSTMCellSimple was not of the expected "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

      // cifg = true, so input2input is None.
      EXPECT_TRUE(mlir::isa<NoneType>(it->getOperand(1).getType()));
    }
    
    TEST_F(LstmUtilsTest, ConvertLayerNormLSTMCellSimpleToFusedLSTM) {
      mlir::TFL::ConvertLayerNormalizedLSTMCellSimpleToFusedLSTM convert(
          fused_ln_lstm_func_);
    
      auto result = convert.RewriteFunc();
      EXPECT_FALSE(failed(result));
      fused_ln_lstm_func_.dump();
    
      EXPECT_EQ(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

        // just don't do anything.
        if (failed(CheckFusableLayerNormalizedLstmCellSimple(func))) return;
        func.eraseBody();
        func.addEntryBlock();
        ConvertLayerNormalizedLSTMCellSimpleToFusedLSTM
            convert_layer_norm_lstm_cell_simple(func);
        if (failed(convert_layer_norm_lstm_cell_simple.RewriteFunc())) {
          return signalPassFailure();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top