Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 377 for tflite (0.21 sec)

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

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o -
    // TODO(b/329300758): add file check back after the cl is fixed | FileCheck %s
    // Check a few basic properties of the import-export,
    // including constants retaining their shape
    // and the module including the TFLite version.
    
    func.func @main(tensor<3x2xi32>) -> tensor<3x2xi32> {
    ^bb0(%arg0: tensor<3x2xi32>):
      // CHECK: module attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/tac_wrapper.h

    #include <Python.h>
    
    namespace tflite {
    
    // Run target-aware-conversion for the given tflite model with the given device
    // specs.
    // Warning: The API is experimental and subject to change.
    bool run_tac(const std::string& model_file_path,
                 const std::vector<std::string>& device_specs,
                 const std::string& model_output_path);
    
    }  // namespace tflite
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 21 01:22:53 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/tac_wrapper.cc

    #include "tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/tac_wrapper.h"
    
    #include <memory>
    #include <string>
    #include <vector>
    
    #include "absl/status/status.h"
    #include "tensorflow/compiler/mlir/lite/experimental/tac/common/targets.h"
    #include "tensorflow/compiler/mlir/lite/experimental/tac/common/utils.h"
    #include "tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/variable.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    
    // CHECK-LABEL: main
    func.func @main() -> tensor<3x2xi32> {
      // CHECK: "tfl.pseudo_const"() <{value = dense<0> : tensor<3x2xi32>}> {tfl.is_variable} : () -> tensor<3x2xi32>
      %0 = "tfl.pseudo_const"() {value = dense<0> : tensor<3x2xi32>, tfl.is_variable} : () -> tensor<3x2xi32> loc("variable")
      func.return %0 : tensor<3x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 470 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/custom_op.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    
    func.func @main(%arg0: tensor<32x4x4x128xf32>, %arg1: tensor<1x32x42x128xf32>, %arg2: tensor<4xi32>) -> tensor<1x64x84x32xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 827 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fake_quant.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate -tflite-flatbuffer-to-mlir - -o - | FileCheck --check-prefix=IMPORT %s
    
    func.func @main(tensor<4xf32>) -> tensor<4xf32> {
    ^bb0(%arg0: tensor<4xf32>):
    // CHECK: {
    // CHECK-NEXT:   version: 3,
    // CHECK-NEXT:     operator_codes: [ {
    // CHECK-NEXT:       deprecated_builtin_code: 80,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.h

    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    
    namespace tflite {
    
    // Returns serialized string for the generated flatbuffer.
    std::optional<std::string> ExportRuntimeMetadata(mlir::ModuleOp module);
    
    }  // namespace tflite
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 28 05:18:47 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/bucketize.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Ensure bucketize roundtrip exactly
    
    func.func @main(%arg0: tensor<3x2xf32>) -> tensor<3x2xi32> {
      // CHECK-LABEL: @main
      // CHECK: "tfl.bucketize"(%arg0) <{boundaries = [0.000000e+00 : f32, 1.000000e+01 : f32, 1.000000e+02 : f32]}> : (tensor<3x2xf32>) -> tensor<3x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 571 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/cast_bf16.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Ensure cast with bfloat16 roundtrip exactly
    
    func.func @main(tensor<4x5xbf16>) -> tensor<4x5xbf16> {
    ^bb0(%arg0: tensor<4x5xbf16>):
      // CHECK-LABEL: @main
      // CHECK:  (tensor<4x5xbf16>) -> tensor<4x5xf32>
      // CHECK-NEXT:  (tensor<4x5xf32>) -> tensor<4x5xbf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 18 21:28:19 UTC 2024
    - 596 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/quant_stats.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Ensure "quantfork.stats" roundtrip exactly
    
    func.func @main(%arg0: tensor<1x512x672x8xf32>) -> tensor<1x512x672x8xf32> {
    // CHECK-LABEL: @main
    // CHECK: %[[RES0:.*]] = "quantfork.stats"(%arg0) <{layerStats = dense<[0.000000e+00, 2.550000e+02]> : tensor<2xf32>}> : (tensor<1x512x672x8xf32>) -> tensor<1x512x672x8xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 657 bytes
    - Viewed (0)
Back to top