Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 263 for 8xi32 (0.53 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unsorted_segment_prod.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
    
    func.func @main(tensor<8xi32>, tensor<8xi32>, tensor<i32>) -> tensor<8xi32> {
    ^bb0(%arg0: tensor<8xi32>, %arg1: tensor<8xi32>, %arg2: tensor<i32>):
    // CHECK: {
    // CHECK-NEXT:   version: 3,
    // CHECK-NEXT:   operator_codes: [ {
    // CHECK-NEXT:     deprecated_builtin_code: 127,
    // CHECK-NEXT:     version: 1,
    // CHECK-NEXT:     builtin_code: UNSORTED_SEGMENT_PROD
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

        ```mlir
        func @tf_tpu_rewrite(%arg0: tensor<8xi32>) -> tensor<8xi32> {
          %0 = "tf_device.cluster_func"(%arg0) {_xla_compile_device_type = "TPU", _replication_info = "cluster0", func = @func, num_cores_per_replica = 2, input_sharding_configuration = ["\08\01\1A\01\01\22\01\00"], output_sharding_configuration = ["\08\01\1A\01\01\22\01\00"]} : (tensor<8xi32>) -> tensor<8xi32>
          return %0 : tensor<8xi32>
        }
        ```
    
        will be rewritten as:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-as-fetch.pbtxt

      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
    }
    versions {
      producer: 27
    }
    
    # CHECK-LABEL: func @main
    # CHECK-SAME:  (%[[ARG_0:[a-z0-9]+]]: tensor<8xi32>) -> tensor<8xi32>
    # CHECK-SAME:  control_outputs = ""
    # CHECK-SAME:  inputs = "input"
    # CHECK-SAME:  outputs = "input"
    # CHECK:         %[[GRAPH:[0-9]+]] = tf_executor.graph
    # CHECK:           tf_executor.fetch %[[ARG_0]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 684 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt

        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    versions {
      producer: 27
    }
    
    # CHECK-LABEL: func @main
    # CHECK-SAME:  (%[[ARG_0:[a-z0-9]+]]: tensor<8xi32> loc({{.*}})) -> tensor<8xi32>
    # CHECK-SAME:  control_outputs = ""
    # CHECK-SAME:  inputs = "arg"
    # CHECK-SAME:  outputs = "arg"
    # CHECK:         %[[GRAPH:[0-9]+]] = tf_executor.graph
    # CHECK:           tf_executor.fetch %[[ARG_0]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 25 01:00:57 UTC 2021
    - 775 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %0#0 : tensor<2xi32>
    
    // CHECK-LABEL: unpack3Tensors
    // CHECK: "tfl.unpack"(%arg0) <{axis = 1 : i32, num = 3 : i32}> : (tensor<2x3xi32>) -> (tensor<2xi32>, tensor<2xi32>, tensor<2xi32>)
    }
    
    func.func @unpackNegAxis(%arg0: tensor<2x3xi32>) -> tensor<2xi32> {
      %0:3 = "tf.Unpack"(%arg0) {axis = -1 : i64} : (tensor<2x3xi32>) -> (tensor<2xi32>, tensor<2xi32>, tensor<2xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        // CHECK:      "tf._TPUCompileMlir"(%[[ARG_0_SHAPE]], %[[ARG_2_SHAPE]])
    
        func.return %0: tensor<8xi32>
      }
      func.func @_func(%arg0: tensor<*xi32>, %arg1: tensor<8xi32>, %arg2: tensor<*xi32>, %arg3: tensor<8xi32>) -> tensor<8xi32> {
        func.return %arg1 : tensor<8xi32>
      }
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/optimize.mlir

        >} : (
          tensor<?x?x6xi8>, tensor<6x8xi8>
        ) -> tensor<?x?x8xi32>
      %1 = chlo.broadcast_add %0, %zp_offset : (
          tensor<?x?x8xi32>, tensor<8xi32>) -> tensor<?x?x8xi32>
      %2 = chlo.broadcast_add %1, %bias : (
          tensor<?x?x8xi32>, tensor<8xi32>) -> tensor<?x?x8xi32>
      return %2 : tensor<?x?x8xi32>
    }
    
    // -----
    
    // CHECK-LABEL: func @dot_general_add_add_static
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 24 02:26:47 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/ops.mlir

      func.return %0#0 : tensor<2xi32>
    }
    
    // -----
    
    func.func @unpack(%arg0: tensor<*xi32>) -> (tensor<*xi32>, tensor<*xi32>) {
      %0:2 = "tfl.unpack"(%arg0) {axis = 1 : i32, num = 2 : i32} : (tensor<*xi32>) -> (tensor<*xi32>, tensor<*xi32>)
      func.return %0#0, %0#1 : tensor<*xi32>, tensor<*xi32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/tfl_legalize_hlo.mlir

    // CHECK-NEXT:      %6 = "tfl.pseudo_const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
    // CHECK-NEXT:      %7 = "tfl.unsorted_segment_prod"(%3, %4, %6) : (tensor<4xi32>, tensor<4xi32>, tensor<i32>) -> tensor<1xi32>
    // CHECK-NEXT:      %8 = "tfl.unsorted_segment_prod"(%3, %5, %6) : (tensor<4xi32>, tensor<4xi32>, tensor<i32>) -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0#0 : tensor<8x8x8x8xf32>
    }
    
    // -----
    
    // Test invalid tf.FusedBatchNorm
    func.func @testFusedBatchNormWrongXType(tensor<8x8x8xf32>, tensor<8xf32>, tensor<8xf32>, tensor<8xf32>, tensor<8xf32>) -> tensor<8x8x8xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top