Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 303 for 1xf32 (0.06 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-stablehlo-vhlo.mlir

        %1 = "tfl.abs"(%arg2) {fused_activation_function = "NONE"} : (tensor<5xf32>) -> tensor<5xf32>
        %2 = stablehlo.add %1, %arg2 : tensor<5xf32>
        %3 = "tfl.abs"(%2) {fused_activation_function = "NONE"} : (tensor<5xf32>) -> tensor<5xf32>
        "stablehlo.return"(%3) : (tensor<5xf32>) -> ()
      }) {dimensions = array<i64: 0>} : (tensor<7x5xf32>, tensor<5xf32>) -> tensor<5xf32>
      func.return %0: tensor<5xf32>
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 22:39:35 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/if_op.mlir

    // CHECK-NEXT: }
    
    func.func @main(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
      %0 = "tfl.less"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xi1>
      %1 = "tf.If"(%0, %arg0, %arg1) {else_branch = @cond_false, then_branch = @cond_true, is_stateless = false} : (tensor<1xi1>, tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      func.return %1 : tensor<1xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/lower_globals_to_ml_program.mlir

      ^bb1(%0: tensor<!tf_type.resource<tensor<?xf32>>>, %1: tensor<!tf_type.resource<tensor<?xf32>>>, %2: tensor<!tf_type.resource<tensor<?xf32>>>):
        "tf.AssignVariableOp"(%0, %arg0) : (tensor<!tf_type.resource<tensor<?xf32>>>, tensor<?xf32>) -> ()
        cf.br ^bb1(%1, %2, %0 : tensor<!tf_type.resource<tensor<?xf32>>>, tensor<!tf_type.resource<tensor<?xf32>>>, tensor<!tf_type.resource<tensor<?xf32>>>)
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 21:57:26 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/optimize.mlir

      %cst_0 = "tf.Const"() {value = dense<0.0235294122> : tensor<f32>} : () -> tensor<f32>
      %cst_1 = "tf.Const"() {value = dense<0.00708661414> : tensor<1xf32>} : () -> tensor<1xf32>
      %cst_2 = "tf.Const"() {value = dense<1.799000e+03> : tensor<1xf32>} : () -> tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      func.func @main(%arg0 : tensor<1xf32>) -> tensor<1xf32> {
        %0 = "tf.Acos"(%arg0) : (tensor<1xf32>) -> tensor<1xf32>
       func.return %0 : tensor<1xf32>
      }
    })";
    
    static constexpr char kBadMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
        func.func @main() -> tensor<1xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/while_op.mlir

      func.return %0#1 : tensor<1xf32>
    }
    
    func.func @cond(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> tensor<i1> {
      %cst = arith.constant dense<0> : tensor<i32> loc("Const")
      %0 = "tfl.greater"(%arg0, %cst) : (tensor<*xi32>, tensor<i32>) -> tensor<i1>
      func.return %0 : tensor<i1>
    }
    
    func.func @body(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/unranked_function_output.mlir

    // CHECK:     "tfl.yield"(%[[RES1]]) : (tensor<*xf32>) -> ()
    // CHECK:   }) : (tensor<1xf32>) -> tensor<*xf32>
    // CHECK:   return %0 : tensor<*xf32>
    // CHECK: }
    func.func @main(%arg0: tensor<1xf32>) -> tensor<*xf32> {
      %0 = "tf.While"(%arg0) {cond = @cond, body = @body, is_stateless = false} : (tensor<1xf32>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 11 07:12:22 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/verify-quant-legalization.mlir

      // expected-error@+1 {{'mhlo.uniform_dequantize' op is illegal as it is a UQ op or contains uq/qint types}}
      %0 = mhlo.uniform_dequantize %arg0 : (tensor<?x?x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<?x?xf32>
      return %0 : tensor<?x?xf32>
    }
    
    // -----
    
    func.func @illegal_tf_uniform_quantize(%arg0 : tensor<1xf32>) -> tensor<1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 18:54:14 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/executor_island_coarsening.mlir

            %6:2 = tf_executor.island wraps "tf.opC"() : () -> tensor<1xf32>
            %8:2 = tf_executor.island(%4#1) wraps "tf.opD"(%6#0) : (tensor<1xf32>) -> tensor<1xf32>
            tf_executor.fetch %8#0 : tensor<1xf32>
          }
          tf_executor.yield %3 : tensor<1xf32>
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:        tf_executor.island wraps "tf.opA"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/verify_for_export.mlir

          %a, %control1 = tf_executor.island wraps "tf.A"() {_class = ["loc:@class"]} : () -> (tensor<2xf32>)
          %s:2, %control2 = tf_executor.island wraps "tf.Split"(%c, %a) {num_split = 2 : i32} : (tensor<i32>, tensor<2xf32>) -> (tensor<1xf32>, tensor<1xf32>)
          tf_executor.fetch
        }
        func.return
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 27 17:36:06 UTC 2023
    - 885 bytes
    - Viewed (0)
Back to top