Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 377 for tflite (0.18 sec)

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

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer --emit-stablehlo-ops=true %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --disable-vhlo-to-stablehlo=true - -o - | FileCheck %s
    // test stablehlo roundtrip
    
    module {
    func.func @main(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
      %0 = "vhlo.logistic_v1"(%arg0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32>
      %1 = "tfl.exp"(%0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> loc("exp")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 907 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_variables.cc

    #include "mlir/Transforms/DialectConversion.h"  // from @llvm-project
    #include "mlir/Transforms/GreedyPatternRewriteDriver.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
    #include "tensorflow/compiler/mlir/lite/utils/variables_utils.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/tf_variant_type.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    
    func.func @main(%arg0 : tensor<!tf_type.variant<tensor<2xi32>>>, %arg1: tensor<!tf_type.variant<tensor<*xi32>>>) -> tensor<!tf_type.variant<tensor<2xi32>>> {
      func.return %arg0 : tensor<!tf_type.variant<tensor<2xi32>>>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 21:25:51 UTC 2024
    - 629 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/offset_buffer.h

    ==============================================================================*/
    #ifndef TENSORFLOW_COMPILER_MLIR_LITE_OFFSET_BUFFER_H_
    #define TENSORFLOW_COMPILER_MLIR_LITE_OFFSET_BUFFER_H_
    
    #include <cstdint>
    
    namespace tflite {
    
    // Check if the model is using custom_option_offset to store custom op
    // buffers. When this field is not explicitly set by the user, then FlatBuffer
    // will omit the field and interpret this as 0, to ensure this field is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 04 01:07:10 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/hashtable_resource.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck %s
    
    // CHECK: {
    // CHECK:  version: 3,
    // CHECK:  operator_codes: [ {
    // CHECK:    deprecated_builtin_code: 32,
    // CHECK:    custom_code: "HashTableV2",
    // CHECK:    builtin_code: CUSTOM
    // CHECK: } ],
    // CHECK: subgraphs: [ {
    // CHECK:   tensors: [ {
    // CHECK:     shape: [  ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

    // Pattern definition file for direct lowering of mhlo composites to tflite ops.
    include "mlir/IR/OpBase.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mhlo/IR/hlo_ops.td"
    include "tensorflow/compiler/mlir/lite/ir/tfl_ops.td"
    include "tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.td"
    include "tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_import.h

    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/Location.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    
    namespace tflite {
    // Converts a TFLite flatbuffer stored in `buffer` to a MLIR module
    // The buffer must live for the duration of the function call,
    // The caller receives ownership of the module.
    // `base_loc` is used for error reporting and debug info.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/nms_utils.h

    limitations under the License.
    ==============================================================================*/
    
    // This header file defines common utils used by TFLite transformation
    // passes to work with NMS ops in TFLite.
    
    #ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_NMS_UTILS_H_
    #define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_NMS_UTILS_H_
    
    #include <string>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc

    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
    #include "tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h"
    
    // Background info:
    // Currently the model taken to MLIRConverter is frozen (all the variables have
    // been converted to constants, all the assign ops are gone, etc.). However,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/basic_lstm.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // 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)
Back to top