Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for lstm_ (0.08 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-quantize-post-training-16bits.mlir

    // CHECK-DAG: %[[input_15:.*]] = "tfl.dequantize"({{.*}}) : (tensor<1x3x!quant.uniform<i16:f32, 3.0517578125E-5>>) -> tensor<1x3xf32>
    // CHECK: %[[lstm:.*]] = "tfl.unidirectional_sequence_lstm"(
    // CHECK-SAME: %[[input_0]],
    // CHECK-SAME: %[[input_1]], %[[input_2]], %[[input_3]], %[[input_4]],
    // CHECK-SAME: %[[input_5]], %[[input_6]], %[[input_7]], %[[input_8]],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

                     op_or_err.status();
            }
            vals_map[input_num] = op_or_err.value()->getResult(0);
          }
        }
    
        // Intermediate tensors for LSTMs are used to carry quantization range
        // in their types, so we only need and extract their types.
        std::vector<mlir::TensorType> intermediate_types;
        intermediate_types.reserve(5);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

        rewriter.replaceOpWithNewOp<QConstOp>(op, TypeAttr::get(result_type),
                                              reshaped_elements);
        return success();
      }
    };
    
    // Removes operations with side effect (i.e. LSTM, SVDF) that have dangling
    // output.
    template <typename OpTy>
    struct PruneUnusedOpsWithSideEffect : public OpRewritePattern<OpTy> {
     public:
      explicit PruneUnusedOpsWithSideEffect(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-quantize-dynamic-range.mlir

    // LSTMOpQuantized-DAG: %[[dq3:.*]] = "tfl.dequantize"({{.*}}) : (tensor<20x!quant.uniform<i8<-127:127>:f32, 0.0078740157480314959>>) -> tensor<20xf32>
    // LSTMOpQuantized: %[[lstm:.*]] = "tfl.unidirectional_sequence_lstm"(%arg0, %[[dq1]], %[[dq1]], %[[dq1]], %[[dq1]], %[[dq1]], %[[dq1]], %[[dq1]], %[[dq1]], %[[dq3]], %[[dq3]], %[[dq3]], %cst_0, %cst_0, %cst_0, %cst_0, %[[dq1]], %0, %cst_1, %cst_1, %0, %0, %0, %0)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/passes.td

      let description = [{
          This pass uses mechanisms listed in RFC:
          https://github.com/tensorflow/community/pull/113
          It prepares composite functions that are attributed to indicate
          a specific interface (LSTM, SVDF, Embedding lookup etc.) by replacing the
          body with the corresponding fused TFLite op. The replacement need not
          always be a fused op, though that is the primary use case.
      }];
      let options = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

    // CHECK-DAG:       [[VAL_47:%.*]] = arith.constant dense<0.000000e+00> : tensor<1x3xf32>
    // CHECK-DAG:       [[VAL_48:%.*]] = arith.constant dense<0.000000e+00> : tensor<1x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  7. RELEASE.md

    ## Bug Fixes and Other Changes
    
    *   `tf.nn.rnn_cell.DropoutWrapper` is now more careful about dropping out LSTM
        states. Specifically, it no longer ever drops the `c` (memory) state of an
        `LSTMStateTuple`. The new behavior leads to proper dropout behavior for
        LSTMs and stacked LSTMs. This bug fix follows recommendations from published
        literature, but is a behavioral change. State dropout behavior may be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

    LogicalResult ConvertTFAssertOp::matchAndRewrite(
        Operation* op, PatternRewriter& rewriter) const {
      rewriter.eraseOp(op);
      return success();
    }
    
    // Legalize unidirectional sequence lstm.
    struct LegalizeUnidirectionalSequenceLstm : public RewritePattern {
      explicit LegalizeUnidirectionalSequenceLstm(MLIRContext* context)
          : RewritePattern(kUnidirectionalSequenceLstm, 1, context) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // duplicated buffer is found.
      std::optional<BufferOffset<tflite::Buffer>> BuildBuffer(
          Value value, bool can_be_deduplicated, int& index);
    
      // Build TFLite tensor from the given type. This function is for tfl.lstm
      // intermediates, which should have UniformQuantizedType.
      std::optional<BufferOffset<tflite::Tensor>> BuildTensorFromType(
          mlir::Type type, const std::string& name);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (2)
  10. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      target.addDynamicallyLegalOp<TF::YieldOp>(is_legal);
      target.addDynamicallyLegalOp<TF::TensorListSetItemOp>(is_set_item_legal);
      target.addLegalOp<TFL::CustomOp>();
      // Register fused LSTM/RNN ops as legal.
      target.addLegalOp<TFL::LSTMOp>();
      target.addLegalOp<TFL::UnidirectionalSequenceLSTMOp>();
      target.addLegalOp<TFL::UnidirectionalSequenceRNNOp>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top