Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 231 for bef_executor (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/convert_control_to_data_outputs.mlir

    func.func @simple_independent_chains(%arg0: !tf_res, %arg1: !tf_res, %arg2: tensor<f32>) {
      // CHECK: tf_executor.graph {
      tf_executor.graph {
        // CHECK: %[[A_CONTROL:.*]] = tf_executor.island wraps "tf.OpA"() : () -> ()
        %control_A = tf_executor.island wraps "tf.OpA"() : () -> ()
        // CHECK: %[[CHAIN_CONSTANT:.*]], %{{.*}} = tf_executor.island wraps "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 18:35:00 UTC 2024
    - 68.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_validate_inputs.mlir

        %control = tf_executor.island() wraps "tf.TPUReplicateMetadata"() {_tpu_replicate = "cluster", device = "/device:TPU:0", num_replicas = 2, topology = "topology"} : () -> ()
        %ri, %c0 = tf_executor.island wraps "tf.TPUReplicatedInput"(%arg0, %arg1) {index = 1 : i64, is_mirrored_variable = false, is_packed = false} : (tensor<i32>, tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir

    // CHECK: TPUCompile
    // CHECK: TPUExecute
    // CHECK-NOT: func @_func
        tf_executor.graph {
          %outputs, %control = tf_executor.island wraps "arith.constant"() {value = dense<2.000000e+00> : tensor<f32>} : () -> tensor<f32>
          %outputs_0, %control_1 = tf_executor.island wraps "arith.constant"() {value = dense<3.000000e+00> : tensor<f32>} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-control-ret.mlir

      func.func @main() {
        tf_executor.graph {
          %0 = tf_executor.island wraps "tf.PartitionedCall"() {Tin = [], Tout = [], config = "", config_proto = "", device = "", executor_type = "", f = @foo, name = "Call_foo"} : () -> ()
          tf_executor.fetch
        }
        func.return
      }
      func.func @foo() {
        tf_executor.graph {
          %0:2 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1004 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/update_control_dependencies.mlir

    func.func @multiple_func_body_ops() {
      tf_executor.graph {
        tf_executor.island {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      tf_executor.graph {
        tf_executor.island {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 03 18:12:49 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    }
    
    // -----
    
    // Check that tf_executor.graph can't be nested directly in a tf_executor.graph.
    func.func @nested_graph() {
      tf_executor.graph {
        tf_executor.graph {}
    // expected-error@-1 {{'tf_executor.graph' op unallowed directly inside another tf_executor.graph}}
      }
      func.return
    }
    
    // -----
    
    // Check that a tf_executor.fetch is terminating a tf_executor.graph (custom parser)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/convert_launch_func_to_tf_call.mlir

          %3 = "tf_device.launch_func"(%2) {device = "/device:test_device:0", func = @_func} : (tensor<?xf32>) -> tensor<?xf32>
    
          // CHECK: tf_executor.yield %[[CALL_OUTPUT]]
          tf_executor.yield %3 : tensor<?xf32>
        }
        tf_executor.fetch %1#0 : tensor<?xf32>
      }
      func.return %0 : tensor<?xf32>
    }
    
    func.func @_func(%arg0: tensor<?xf32>) -> tensor<?xf32> {
      func.return %arg0 : tensor<?xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/resource-device-inference.mlir

            : (tensor<i1>, !tf_res,
               !tf_res) -> ()
          tf_executor.yield
        }
        tf_executor.fetch %island : !tf_executor.control
      }
      func.return
    }
    
    // CHECK-LABEL: func @if_then
    func.func @if_then(
      %arg0: !tf_res,
      %arg1: !tf_res) {
      tf_executor.graph {
        // CHECK: tf_executor.island
        %island = tf_executor.island {
          // CHECK-NEXT: "tf.Identity"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 16:01:45 UTC 2022
    - 18.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h"
    
    #define DEBUG_TYPE "tf-functional-to-executor"
    
    namespace mlir {
    
    namespace {
    // This pass converts mlir functions consisting of mlir ops into a tf_executor
    // dialect as a single island.
    // Result like so:
    //   func @my_fn(%argi...) -> (result_t) {
    //     %results:[[n_args]] = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_device_propagation.mlir

        %5:2 = tf_executor.island wraps "tf.Identity"(%3#1) : (tensor<i64>) -> tensor<i64>
        %6 = tf_executor.ControlTrigger %4#1, %5#1
        tf_executor.fetch %6 : !tf_executor.control
      }
      func.return
    }
    
    // Tests tf_executor.NextIteration.Source/tf_executor.NextIteration.Sink has a
    // device when an intermediate op in its loop has a device.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 19K bytes
    - Viewed (0)
Back to top