Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 273 for i8rand (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc

    // This pass forms `tf_executor.island` per region of
    // `tf_device.parallel_execute`.
    //
    // For example, the following:
    //
    //  %0 = tf_executor.island {
    //    tf_executor.yield
    //  }
    //  %1:2 = tf_executor.island {
    //    %2 = "tf.opA"(%arg0) : (tensor<i1>) -> tensor<i1>
    //      tf_executor.yield %2 : tensor<i1>
    //  }
    //  %3:2 = tf_executor.island(%0) {
    //    %4 = "tf_device.parallel_execute"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_size_attr.mlir

    // CHECK: }
    
    func.func @main() {
      tf_executor.graph {
        %dim:2 = tf_executor.island wraps "tf.Const"() {dtype = "tftype$DT_INT32", value = dense<0> : tensor<i32>} : () -> tensor<i32>
        %input:2 = tf_executor.island wraps "tf.Const"() {dtype = "tftype$DT_INT32", value = dense<1.0> : tensor<4x6xf32>} : () -> tensor<4x6xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 700 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/verify_suitable_for_graph_export.cc

          return mlir::WalkResult::interrupt();
        }
    
        for (mlir::Operation& op : graph.GetBody()) {
          auto island = llvm::dyn_cast<mlir::tf_executor::IslandOp>(op);
          if (!island) continue;
    
          if (!island.WrapsSingleOp()) {
            island.emitError(kInvalidExecutorGraphMsg)
                << "tf_executor.island must perfectly wrap a single op";
            return mlir::WalkResult::interrupt();
          }
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 30 02:12:49 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/replica_id_to_device_ordinal.mlir

      func.func @device_ordinal_attr_added_multiple_devices() {
        tf_executor.graph {
          %0 = tf_executor.island {
            "tf_device.launch"() ({
              %1 = "tf.opA"() : () -> tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_duplicate_resource_ops.mlir

    // CHECK: %[[OUT_0:.*]], %[[CTL_0:.*]] = tf_executor.island wraps "tf.VarHandleOp"()
    // CHECK: %[[OUT_1:.*]], %[[CTL_1:.*]] = tf_executor.island wraps "tf.RestoreV2"
    // CHECK: %[[CTL_2:.*]] = tf_executor.island(%[[CTL_1]]) wraps "tf.AssignVariableOp"(%[[OUT_0]], %[[OUT_1]])
    
    // Check that ReadVariableOp now use the same variable op.
    // CHECK: %[[OUT_3:.*]], %[[CTL_3:.*]] = tf_executor.island wraps "tf.ReadVariableOp"(%[[OUT_0]])
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 04:26:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/batch_function_fallback_resource_variable_as_captured_tensor.mlir

        %0 = tf_executor.graph {
          %outputs_0, %control_0 = tf_executor.island wraps "tf.VarHandleOp"() {container = "", shared_name = ""} : () -> tensor<!tf_type.resource<tensor<501000x128xf32>>>
          %outputs_1, %control_1 = tf_executor.island wraps "tf.Cast"(%outputs_0) {Truncate = false} : (tensor<!tf_type.resource<tensor<501000x128xf32>>>) -> tensor<*x!tf_type.resource>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/isolate-placer.mlir

    // CHECK: [[VARIABLE_REG:%.*]], [[VARIABLE_REG_control:%.*]] = tf_executor.island wraps "tf.VarHandleOp"()
    
    // Test for the presence of Identity op between input and function call.
    // CHECK: [[IDENTITY_REG:%.*]], [[IDENTITY_REG_control:%.*]] = tf_executor.island wraps "tf.Identity"([[VARIABLE_REG]])
    
    // CHECK: [[CALL_RESULT_REG:%.*]], [[CALL_RESULT_REG_control:%.*]] = tf_executor.island wraps "tf.StatefulPartitionedCall"([[IDENTITY_REG]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    // expected-error@-1 {{'tf_executor.island' op expected 1 or more results}}
        }) : () -> ()
      }
      func.return
    }
    
    // -----
    
    // Check that an island region can't be empty.
    func.func @invalid_island(%arg0: tensor<*xf32>, %ctl: !tf_executor.control) {
      tf_executor.graph {
        "tf_executor.island"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_identity_n.mlir

    func.func @main() -> tensor<2x3xi32> {
      %graph = tf_executor.graph {
        %0:2 = tf_executor.island wraps "tf.Const"() {value = dense<5> : tensor<2x3xi32>} : () -> tensor<2x3xi32> loc("Const0")
        %1:2 = tf_executor.island wraps "tf.Const"() {value = dense<4.2> : tensor<4x5xf32>} : () -> tensor<4x5xf32> loc("Const1")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1014 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-order.mlir

    // CHECK-NEXT:       }
    // CHECK:          }
    // CHECK-NEXT:   }
    func.func @bar() {
      tf_executor.graph {
        %0:2 = tf_executor.island wraps "tf.Const"() {dtype = "tfdtype$DT_INT32", name = "tf.Const", value = dense<1> : tensor<i32>} : () -> tensor<i32>
        %1:2 = tf_executor.island wraps "tf.Empty"(%0#0) {dtype = "tfdtype$DT_FLOAT", name = "tf.Empty"} : (tensor<i32>) -> tensor<*xf32>
        tf_executor.fetch
      }
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 18:52:47 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top