Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,393 for identity0 (0.14 sec)

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

    namespace mlir {
    namespace TFTPU {
    
    namespace {
    
    // This pass removes Identity/IdentityN ops from the TPU computation and
    // reachable functions.
    // TODO(lyandy): Remove this pass once resource op lifting is migrated to use
    // resource alias analysis and support region based control flow. Removing
    // Identity ops may remove `_XlaSharding` annotation attribute if Identity ops
    // are used to propagate such information.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/cast_bf16_ops_to_f32.mlir

      %3 = "tf.IdentityN"(%2) {device = ""} : (tensor<1x2xf32>) -> tensor<1x2xf32>
      return %3 : tensor<1x2xf32>
    }
    
    // CHECK: func @cast_bf16_matmul_to_fp32
    // CHECK-DAG: %[[cst:.*]] = "tf.Const"() <{value = dense<{{.*}}> : tensor<10x2xf32>}> : () -> tensor<10x2xf32>
    // CHECK: %[[matmul:.*]] = "tf.MatMul"(%arg0, %[[cst]])
    // CHECK: %[[identity:.*]] = "tf.IdentityN"(%[[matmul]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/convert_tpu_model_to_cpu.mlir

    // CHECK: %[[conv:.*]] = "tf.Conv2D"(%[[ARG0]], %[[cast]])
    // CHECK: %[[identity:.*]] = "tf.IdentityN"(%[[conv]]) {device = ""} : (tensor<1x3x2x2xf32>) -> tensor<1x3x2x2xf32>
    // CHECK: return %[[identity]] : tensor<1x3x2x2xf32>
    
    // -----
    
    // Tests that `tf.BatchFunction` is inlined.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. docs/sts/web-identity.go

    jiuker <******@****.***> 1684487613 +0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

      func.return
    }
    // CHECK-LABEL: empty_island_multiple_data_results
    // CHECK-SAME: (%[[ARG_0:.*]]: tensor<*xf32>, %[[ARG_1:.*]]: tensor<*xi32>)
    // CHECK: %[[IDENTITY_N:.*]]:2 = "tf.IdentityN"
    // CHECK-SAME: (%[[ARG_0]], %[[ARG_1]])
    // CHECK: tf_executor.yield %[[IDENTITY_N]]#0, %[[IDENTITY_N]]#1
    
    func.func @single_op_island_forward_block_arg(%arg0: tensor<?x?x?x?xbf16>) -> (tensor<2048xf32>, tensor<?x?x?x?xbf16>) {
      %0:2 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/build_xla_ops_pass.cc

        return absl::OkStatus();
      }
    
      // Create a single IdentityN that is dead if and only if
      // `predicate_as_control` is dead.
      //
      // IdentityN is also special in that, unlike `Identity`, it does not place
      // int32 inputs in host memory.  Placing int32 inputs in host memory would
      // defeat the purpose of adding this indirection.
      ops::IdentityN identity_n(root.WithOpName("int32_id_n"), int32_inputs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

        auto identity = builder.create<TF::IdentityOp>(island.getLoc(),
                                                       operand.getType(), operand);
        yield.setOperand(0, identity.getOutput());
      } else {
        auto identity_n = builder.create<TF::IdentityNOp>(
            island.getLoc(), yield.getOperandTypes(), yield.getOperands());
        for (auto it : llvm::enumerate(identity_n.getResults()))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_identity_op_pattern.h

    // By removing identity ops, constant operands with dynamic shapes have static
    // shape information which is necessary for correct pattern matching in this
    // pass.
    struct RemoveIdentity : public OpRewritePattern<TF::IdentityOp> {
      using OpRewritePattern<TF::IdentityOp>::OpRewritePattern;
    
      LogicalResult matchAndRewrite(TF::IdentityOp identity,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 15 06:13:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tensor_device_copy_conversion.cc

        // H2D transfer kernels. So fold the tf.Identity op if:
        // * the identity op is placed on TPU, and
        // * the arg to the identity op is produced by a TPUExecuteOp.
        if (op_device && op_device.getValue().contains("TPU")) {
          return true;
        }
    
        Operation *def_op = arg.getDefiningOp();
        // If the arg to this identity op is the arg of a function, there's no
        // defining op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

    func.func @while_main(%arg0: tensor<?x256x256xf32>) -> (tensor<i32>, tensor<256x256xf32>, tensor<?x256x256xf32>) attributes {tf.entry_function = {inputs = "input", outputs = "Identity,Identity_1,Identity_2"}} {
      %cst = arith.constant dense<1.000000e+00> : tensor<256x256xf32>
      %cst_0 = arith.constant dense<0> : tensor<i32>
      %cst_1 = arith.constant dense<-1> : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top