Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 560 for Wain (0.03 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/empty-main.mlir

    // RUN: tf-opt -tf-executor-graph-pruning %s  | FileCheck %s --check-prefix=CONTROL
    
    // CONTROL-LABEL: func @main
    // CONTROL-NEXT:    return
    
    // EXECUTOR-LABEL: func @main
    // EXECUTOR-NEXT:    tf_executor.graph {
    // EXECUTOR-NEXT:      tf_executor.fetch
    // EXECUTOR-NEXT:    }
    // EXECUTOR-NEXT:    return
    
    func.func @main() {
      func.return
    Registered: 2024-06-16 05:45
    - Last Modified: 2022-03-28 12:06
    - 342 bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/repack_libtensorflow.sh

      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    }
    DIR=$1
    Registered: 2024-06-16 05:45
    - Last Modified: 2023-09-18 14:52
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

    // CHECK-SAME: ([[INPUT0:%.*]]: tensor<i32>, [[INPUT1:%.*]]: tensor<i32>
    // CHECK: tf.Sub
    // CHECK: tf.Sub
    // CHECK: mlrt.async({{%.*}}, [[INPUT1]]
    
    // CHECK-LABEL: func @main
    func.func @main(%a: tensor<i32>, %b: tensor<i32>) -> tensor<i32> {
    
      %a0 = "tf.AddV2"(%a, %a) : (tensor<i32>, tensor<i32>) -> tensor<i32>
      %a1 = "tf.AddV2"(%a0, %a) : (tensor<i32>, tensor<i32>) -> tensor<i32>
    Registered: 2024-06-16 05:45
    - Last Modified: 2023-06-08 22:07
    - 15K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir

      func.return %2 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: func @main
    func.func @main(%arg0: tensor<1x3xf32> {tf_saved_model.index_path = ["input"]}) -> (tensor<*xf32> {tf_saved_model.index_path = ["r"]})
      attributes {tf_saved_model.exported_names = ["main"]} {
      // CHECK: tf.VarHandleOp
    Registered: 2024-06-16 05:45
    - Last Modified: 2023-10-30 06:52
    - 21K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-tensor-array-ops-decomposition | FileCheck %s
    
    // Test read and write on a tensor list.
    
    // CHECK-LABEL: func @main
    func.func @main() -> tensor<3xf32> {
      %size = "tf.Const"() {value = dense<5> : tensor<i32>} : () -> tensor<i32>
      // CHECK: %[[BUFFER:.*]] = "tf.BroadcastTo"
      // CHECK-SAME: -> tensor<5x3xf32>
    Registered: 2024-06-16 05:45
    - Last Modified: 2023-10-30 06:52
    - 49K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/serialized-mlir-module-str-attr.mlir

    "\0A\0Amodule attributes {tf.versions = {producer = 888 : i32}} {\0A func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> {\0A %0 = \22tf.Identity\22(%arg0) : (tensor<?xi32>) -> tensor<?xi32> loc(unknown)\0A return %0 : tensor<?xi32> loc(unknown)\0A } loc(unknown)\0A} loc(unknown)"
    
    // Test simple serialized computation consisting of a function named `main`
    // with a tf.Identity op forwarding the function single argument to the function
    // single result.
    Registered: 2024-06-16 05:45
    - Last Modified: 2022-05-09 13:27
    - 998 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/export_main_to_flib.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef -tf-export-entry-func-to-flib  %s -o - 2>&1 | FileCheck %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 458 : i32}} {
      func.func @main() attributes {tf.entry_function = {inputs = "", outputs = ""}} {
        tf_executor.graph {
    Registered: 2024-06-16 05:45
    - Last Modified: 2022-03-28 12:06
    - 699 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_hashtable_ops_as_args.mlir

    // CHECK: "tf.LookupTableFindV2"(%arg1
      func.func @main(%arg0: tensor<?x!tf_type.string> {tf_saved_model.index_path = ["input_vocabs:0"]} ) -> (tensor<*xi64>  {tf_saved_model.index_path = ["FakeQuantWithMinMaxArgs_2:0"]}) attributes {tf.entry_function = {inputs = "input_vocabs:0", outputs = "FakeQuantWithMinMaxArgs_2:0"}, tf_saved_model.exported_names = ["main"]} {
    Registered: 2024-06-16 05:45
    - Last Modified: 2024-03-15 05:41
    - 13.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-add.mlir

    // RUN: odml-to-stablehlo-opt %s -tfl-parse-stablehlo-ops | FileCheck %s
    
    module {
    func.func @main(%arg0: tensor<2xi32>) -> tensor<2xi32> attributes {tf.entry_function = {inputs = "arg0", outputs = "tfl.custom1"}} {
      %0 = "tfl.custom"(%arg0, %arg0) {custom_code = "stablehlo.add", custom_option = #tfl<const_bytes : "0x00000100002401">} : (tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0 : tensor<2xi32>
    }
    }
    
    // CHECK:       module {
    Registered: 2024-06-16 05:45
    - Last Modified: 2022-12-16 05:09
    - 741 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-clamp.mlir

    module {
    func.func @main(%arg0: tensor<2xi32>, %arg1: tensor<2xi32>, %arg2: tensor<2xi32>) -> tensor<2xi32> {
      %0 = "tfl.custom"(%arg0, %arg1, %arg2) {custom_code = "stablehlo.clamp", custom_option = #tfl<const_bytes : "0x00000100002401">} : (tensor<2xi32>, tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0 : tensor<2xi32>
    }
    }
    
    // CHECK:       module {
    Registered: 2024-06-16 05:45
    - Last Modified: 2022-12-16 05:09
    - 710 bytes
    - Viewed (0)
Back to top