Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for lstm_ (0.59 sec)

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

      // layer norm coefficients
      Value input_layer_norm_coefficients_;
      Value forget_layer_norm_coefficients_;
      Value cell_layer_norm_coefficients_;
      Value output_layer_norm_coefficients_;
    
      mlir::TFL::LSTMOp lstm_;
    
      Value none_;
      SmallVector<int64_t, 1> bias_slice_shape_;
      SmallVector<int64_t, 1> bias_size_values_;
      SmallVector<int64_t, 2> weight_slice_shape_;
      SmallVector<int64_t, 2> weight_slice_size_input_values_;
    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

      // The func will ultimately return the output of the fused
      // LSTM op.
      UpdateFuncSignature();
    
      // Transform the weights, projection, bias and layer norm coefficients
      // to generate operands for the TFL fused LSTM op.
      GenerateFusedOpOperands();
    
      // Create the fused LSTM op.
      SmallVector<int64_t, 2> output_shape = {1, n_output_};
      auto result_type = mlir::RankedTensorType::get(
    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/transforms/prepare_composite_functions_tf.cc

      // Keras lstm tf.api_implements usually has attribute like "lstm_abcde91...".
      // TODO(b/147436982): we need to make sure that only the
      // outputs(full sequence) is used, not the last_output, not the new_states.
      // We will discard everything except the outputs.
      // And the outputs is in the shape of [batch, time, units].
      if (attr.getValue().starts_with("lstm_")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Ensure lstm roundtrip exactly
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm.mlir

    // CHECK: {
    // CHECK-NEXT:   version: 3,
    // CHECK-NEXT:   operator_codes: [ {
    // CHECK-NEXT:     deprecated_builtin_code: 16,
    // CHECK-NEXT:     version: 1,
    // CHECK-NEXT:     builtin_code: LSTM
    // CHECK-NEXT:   } ],
    // CHECK-NEXT:   subgraphs: [ {
    // CHECK-NEXT:     tensors: [ {
    // CHECK-NEXT:       shape: [ 1, 4 ],
    // CHECK-NEXT:       buffer: 1,
    // CHECK-NEXT:       name: "arg0",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/split-merged-operands.mlir

      // CHECK-DAG:  %[[CST_3:.*]] = "tfl.pseudo_const"() <{value = dense<0.000000e+00> : tensor<4x4xf32>}> : () -> tensor<4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.json

    Christian Sigg <******@****.***> 1714543668 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/branches.go

    // block (or nil), ctxt provides information about the enclosing statements,
    // and lstmt is the labeled statement associated with this block, or nil.
    func (ls *labelScope) blockBranches(parent *block, ctxt targets, lstmt *LabeledStmt, start Pos, body []Stmt) []*BranchStmt {
    	b := &block{parent: parent, start: start, lstmt: lstmt}
    
    	var varPos Pos
    	var varName Expr
    	var fwdGotos, badGotos []*BranchStmt
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:21:29 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // Transform pass for LSTMs.
    
    #ifndef TENSORFLOW_COMPILER_MLIR_LITE_TRANSFORMS_PREPARE_QUANTIZE_HELPER_H_
    #define TENSORFLOW_COMPILER_MLIR_LITE_TRANSFORMS_PREPARE_QUANTIZE_HELPER_H_
    
    #include <algorithm>
    #include <cmath>
    #include <memory>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/labels.go

    	for s := b; s != nil; s = s.parent {
    		if t := s.lstmt; t != nil && t.Label.Value == name {
    			return t
    		}
    	}
    	return nil
    }
    
    // blockBranches processes a block's statement list and returns the set of outgoing forward jumps.
    // all is the scope of all declared labels, parent the set of labels declared in the immediately
    // enclosing block, and lstmt is the labeled statement this block is associated with (or nil).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top