Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for basic_lstm (0.16 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/basic_lstm.mlir

    // CHECK-NEXT:      shape: [ 1, 96 ],
    // CHECK-NEXT:      buffer: 6,
    // CHECK-NEXT:      name: "tfl.basic_lstm",
    // CHECK-NEXT:      quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:      },
    // CHECK-NEXT:      has_rank: true
    // CHECK-NEXT:    }, {
    // CHECK-NEXT:      shape: [ 1, 96 ],
    // CHECK-NEXT:      buffer: 7,
    // CHECK-NEXT:      name: "tfl.basic_lstm:1",
    // CHECK-NEXT:      quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:      },
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/basic_lstm.mlir

    // Ensure basic_lstm roundtrip exactly
    
    func.func @main(%arg0: tensor<1x384xf32>, %arg1: tensor<1x96xf32>, %arg2: tensor<384x480xf32>, %arg3: tensor<384xf32>, %arg4: tensor<1x96xf32>) -> tensor<1x96xf32> {
    // CHECK-LABEL: @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/converter_gen.cc

        }
        os << ");\n}\n\n";
      }
    }
    
    static inline std::string GetOperatorName(const Record &def) {
      auto name = def.getValueAsString("opName");
      // Special case for basic_lstm.
      if (name == "basic_lstm") {
        return "LSTM";
      }
      return name.upper();
    }
    
    // Emits a function that returns built-in operator code for each TFLite op.
    //
    // The signature of the function is:
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    std::string GetMlirOpName(const tflite::OperatorT& op,
                              const tflite::OperatorCodeT& op_code) {
      if (IsBasicLSTMOp(op.builtin_options)) {
        return std::string("tfl.basic_lstm");
      }
      return mlir::GetMlirOpNameFromOpCode(op_code);
    }
    
    StatusOr<Operation*> BuildExternalConstOp(const tflite::TensorT& tensor,
                                              int32_t buffer_index,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/ops.mlir

    func.func @testBasicLstm(%arg0: tensor<1x384xf32>, %arg1: tensor<1x96xf32>, %arg2: tensor<384x480xf32>, %arg3: tensor<384xf32>, %arg4: tensor<1x96xf32>) -> (tensor<1x96xf32>, tensor<1x96xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      TFL_TCresVTEtIsSameAsOp<0, 0>>;
    
    // This is the basic kernel type LSTM op.
    // TODO(b/142417845): Refactor this part to return its tflite node name as
    // "lstm".
    def TFL_BasicLSTMOp : TFL_Op<"basic_lstm", [Pure,
        TFL_OperandHasRank<0, 2>,
        TFL_OperandHasRank<1, 2>,
        TFL_OperandHasRank<2, 2>,
        TFL_OperandHasRank<3, 1>,
        TFL_OperandHasRank<4, 2>,
        QuantizableResult]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top