Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for external_const (0.12 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/external_constant.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --use-external-constant - -o - | FileCheck %s
    // Ensure that `tfl.external_const` is imported when the flag `-use-external-constant` is enabled.
    
    func.func @main(tensor<40x37xf32>, tensor<40x37xf32>) -> tensor<40x40xf32> {
    ^bb0(%arg0: tensor<40x37xf32>, %arg1: tensor<40x37xf32>):
      %cst = arith.constant dense<1.0> : tensor<40xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.h

    // only return nodes in ordered_output_arrays in the same order. Returns nullptr
    // on failure, and more specific errors will be emitted via the context.
    // If `use_external_constant` is true, it will create `tfl.external_const`
    // instead of `tfl.const`.
    // If `experimental_prune_unreachable_nodes_unconditionally` is true, nodes that
    // are not ancestors of the output nodes will be pruned.
    mlir::OwningOpRef<mlir::ModuleOp> FlatBufferToMlir(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

          $_state.addAttribute("s_param", s_param);
          $_state.addAttribute("compressed_data", compressed_data);
        }]>
      ];
    }
    
    def TFL_ExternalConstOp : Op<TFL_Dialect, "external_const", [
        Pure,
        QuantizableResult,
        DeclareOpInterfaceMethods<TFL_RuntimeVerification>]> {
      let summary = "External const op.";
    
      let description = [{
    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