Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for 4xi4 (0.03 sec)

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

      // be packed low-bits-first as [0x38, 0xBE] or [56, 190]. Tensor type should
      // be INT4.
      %0 = "tfl.pseudo_const" () {value = dense<[-8, 3, -2, -5]> : tensor<4xi4>} : () -> tensor<4xi4> loc("Const")
      func.return %0 : tensor<4xi4>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 12 20:13:51 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/reduce-type-precision.mlir

    func.func @testI8ToI4WithinRange() -> (tensor<4xi8>) {
      %0 = arith.constant dense<[-8, 0, 1, 7]> : tensor<4xi8>
      // expected-error@+1 {{type of return operand 0 ('tensor<4xi4>') doesn't match function result type ('tensor<4xi8>')}}
      func.return %0 : tensor<4xi8>
    }
    
    func.func @testI8ToI4NotWithinRange() -> tensor<4xi8> {
      %0 = arith.constant dense<[-10, 2, 3, 8]> : tensor<4xi8>
      func.return %0 : tensor<4xi8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 01 20:01:11 UTC 2023
    - 502 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.mlir

    // Ensure constants roundtrip exactly
    
    func.func @bool() -> tensor<4xi1> {
      // CHECK-LABEL: @bool
      // CHECK: value = dense<[false, true, true, false]> : tensor<4xi1>
      %0 = "tfl.pseudo_const"() { value = dense<[false, true, true, false]> : tensor<4xi1> } : () -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    }
    
    func.func @complex64() -> tensor<4xcomplex<f32>> {
      // CHECK-LABEL: @complex64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

    // Ensure constants roundtrip exactly
    
    func.func @bool() -> tensor<4xi1> {
      // CHECK-LABEL: @bool
      // CHECK: value = dense<[false, true, true, false]> : tensor<4xi1>
      %0 = "tfl.pseudo_const"() { value = dense<[false, true, true, false]> : tensor<4xi1> } : () -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    }
    
    func.func @complex64() -> tensor<4xcomplex<f32>> {
      // CHECK-LABEL: @complex64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

      %1 = mhlo.constant dense<0.000000e+00> : tensor<f32>
      %2 = "mhlo.pad"(%arg0, %1) {edge_padding_high = dense<[0, 0, 1, 1]> : tensor<4xi64>, edge_padding_low = dense<[0, 0, 1, 1]> : tensor<4xi64>, interior_padding = dense<0> : tensor<4xi64>} : (tensor<1x3x6x6xf32>, tensor<f32>) -> tensor<1x3x8x8xf32>
      %3 = "mhlo.reduce_window"(%2, %1) ({
      ^bb0(%arg1: tensor<f32>, %arg2: tensor<f32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

    func.func @cast_i8_to_i1() -> tensor<4xi1> {
      %cst = arith.constant dense<[0, 1, 2, -1]> : tensor<4xi8>
      %0 = "tfl.cast"(%cst) : (tensor<4xi8>) -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    
    // CHECK: %[[CST:.*]] = arith.constant dense<[false, true, true, true]> : tensor<4xi1>
    // CHECK:  return %[[CST]]
    }
    
    // CHECK-LABEL: @cast_ui8_to_i1
    func.func @cast_ui8_to_i1() -> tensor<4xi1> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/logical.mlir

      %1 = "tfl.pseudo_const" () {value = dense<false> : tensor<4xi1>} : () -> tensor<4xi1> loc("Const2")
      %2 = "tfl.logical_or"(%arg0, %1) : (tensor<4xi1>, tensor<4xi1>) -> tensor<4xi1> loc("logical_or")
      %3 = "tfl.logical_and"(%2, %0) : (tensor<4xi1>, tensor<4xi1>) -> tensor<4xi1> loc("logical_and")
      func.return %3 : tensor<4xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_optimize.mlir

      %cst_2 = arith.constant dense<[8, 6, 6, 18]> : tensor<4xi64>
      %98 = "tf.Reshape"(%97, %cst_2) : (tensor<1x8x6x1x6x1x1x18xbf16>, tensor<4xi64>) -> tensor<8x6x6x18xbf16>
      func.return %98 : tensor<8x6x6x18xbf16>
    
      // CHECK-DAG: %[[CST:.*]] = "tf.Const"() <{value = dense<[8, 1, 1, 18]> : tensor<4xi64>}> : () -> tensor<4xi64>
      // CHECK-DAG: %[[CST1:.*]] =  "tf.Const"() <{value = dense<[8, 6, 6, 18]> : tensor<4xi64>}> : () -> tensor<4xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_custom_call.mlir

    // Identity function to make the exporter happy
    func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> {
      func.return %arg0 : tensor<4xi8>
    }
    
    //CHECK:func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> attributes {tf.entry_function = {inputs = "arg0", outputs = "arg0"}} {
    //CHECK: return %arg0 : tensor<4xi8>
    //CHECK:}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/input_output_names_attr.mlir

    // CHECK-LABEL: @main
    func.func @main(%arg0: tensor<4xi8>, %arg1: tensor<4xi32>) -> (tensor<4xi32>, tensor<4xi8>)
    // CHECK: attributes {tf.entry_function = {inputs = "input0,input1", outputs = "output0,output1"}}
    attributes {tf.entry_function = {inputs = "input0,input1", outputs = "output0,output1"}} {
      %0 = "tfl.neg"(%arg0) : (tensor<4xi8>) -> tensor<4xi8> loc("neg")
      %1 = "tfl.neg"(%arg1) : (tensor<4xi32>) -> tensor<4xi32> loc("neg")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:35:24 UTC 2022
    - 726 bytes
    - Viewed (0)
Back to top