Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for while_body_6 (0.2 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir

      func.return %0 : tensor<f32>
    }
    
    // -----
    
    // Tests `mhlo.while` with only the `body` region populated with TF/XLA
    // communication ops.
    
    // CHECK-LABEL: func @while_body
    // CHECK-SAME:  ([[ARG0:%.*]]: tensor<f32>)
    func.func @while_body(%arg0: tensor<f32>) -> tensor<f32> {
      // CHECK: [[INIT_TOKEN:%.*]] = mhlo.create_token
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 18:24:20 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

        // expected-remark@above {{Predecessors: {4}}}
      }
      func.return
      // expected-remark@above {{ID: 7}}
      // expected-remark@above {{Sinks: {6}}}
    }
    
    // CHECK-LABEL: func @while_body
    func.func @while_body(%arg0: tensor<i1>) -> tensor<i1> {
      // expected-remark@above {{ID: 5}}
      %graph = tf_executor.graph {
      // expected-remark@above {{ID: 3}}
        %island:2 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        variable ops, thus allowing them to run in parallel across iterations.
    
        Before:
    
        ```mlir
        !tf_res = type tensor<!tf_type.resource<tensor<f32>>>
        func @while_body(%arg0: !tf_res, %arg1: !tf_res, %arg2: tensor<f32>, %arg3: tensor<f32>) -> (!tf_res, !tf_res, tensor<f32>, tensor<f32>) {
          %graph:4 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/compilability_check_util.cc

          stack_trace, uncompilable_nodes);
    
      if (!uncompilable_nodes && !is_compilable) return is_compilable;
    
      is_compilable &= ExtractNodeDefAndCheckCompilability(
          while_node, "body", "while_body", encapsulating_function, lib_runtime,
          stack_trace, uncompilable_nodes);
    
      return is_compilable;
    }
    
    bool RecursiveCompilabilityChecker::ExtractNodeDefAndCheckCompilability(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    variable ops, thus allowing them to run in parallel across iterations.
    
    Before:
    
    ```mlir
    !tf_res = type tensor<!tf_type.resource<tensor<f32>>>
    func @while_body(%arg0: !tf_res, %arg1: !tf_res, %arg2: tensor<f32>, %arg3: tensor<f32>) -> (!tf_res, !tf_res, tensor<f32>, tensor<f32>) {
      %graph:4 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      // Use this to clone an op and lift it outside its parent function. The
      // original while body is unchanged. Example:
      // Original:
      //    %x = tf.while(%a, %b)
      //    ...
      //    while_body:
      //       call(f=@sc_fw, %arg0, %arg1)
      // Lifted:
      //    call(f=@sc_fw, %a, %b)
      //    %x = tf.while(%a, %b)
      //    ...
      func::FuncOp orig_parent_func =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top