Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for identity_op (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

      while (auto result = mlir::dyn_cast<OpResult>(v)) {
        if (!(allow_other_use || v.hasOneUse())) break;
        auto op = result.getDefiningOp();
        if (!llvm::isa<TF::IdentityOp, TF::IdentityNOp>(op)) {
          break;
        }
        v = op->getOperand(result.getResultNumber());
        if (skipped) skipped->insert(op);
      }
      return v;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

        TypeID::get<TF::_FusedConv2DOp>(),
        TypeID::get<TF::GatherNdOp>(),
        TypeID::get<TF::GatherV2Op>(),
        TypeID::get<TF::GreaterEqualOp>(),
        TypeID::get<TF::IdentityOp>(),
        TypeID::get<TF::IdentityNOp>(),
        TypeID::get<TF::InplaceUpdateOp>(),
        TypeID::get<TF::InvertPermutationOp>(),
        TypeID::get<TF::IRFFTOp>(),
        TypeID::get<TF::L2LossOp>(),
        TypeID::get<TF::LegacyCallOp>(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataSpecBuilder.java

            return ownerData != null
                ? identityFor(ownerData, relativeUrlTo(componentData.coordinates, ownerData.coordinates))
                : identityFor(componentData, null);
        }
    
        private ModuleMetadataSpec.Identity identityFor(ComponentData componentData, String relativeUrl) {
            return new ModuleMetadataSpec.Identity(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:07:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

        llvm::StringMap<PartitionedCallStackOpsInfo>*
            decomposed_partitioned_call_callees) {
      for (auto& op : llvm::make_early_inc_range(block->getOperations())) {
        if (llvm::isa<TF::IdentityOp, TF::IdentityNOp>(&op)) {
          // Removes identity nodes in the block. The device computation does not
          // need such nodes to carry information.
          op.replaceAllUsesWith(op.getOperands());
          op.erase();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.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/mlir/tensorflow/transforms/decompose_optionals.cc

        Value value = nullptr;
        for (auto v : op.getComponents()) {
          value = v;
        }
        if (!value) return failure();
        rewriter.replaceOpWithNewOp<TF::IdentityOp>(op, value.getType(), value);
        return success();
      }
    };
    
    class HandleOptionalGet : public OpRewritePattern<TF::OptionalGetValueOp> {
     public:
      using OpRewritePattern::OpRewritePattern;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/build_xla_ops_pass.cc

      // defeat the purpose of adding this indirection.
      ops::IdentityN identity_n(root.WithOpName("int32_id_n"), int32_inputs);
      root.graph()->AddControlEdge(predicate_as_control.node(),
                                   identity_n.operation.node());
    
      for (int i = 0, end = int32_inputs.size(); i < end; i++) {
        TF_RETURN_IF_ERROR(root.graph()->UpdateEdge(identity_n[i].node(), i, n,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir

    func.func @empty_island_multiple_data_results(%arg0: tensor<*xf32>, %arg1: tensor<*xi32>) {
      tf_executor.graph {
        %0:3 = tf_executor.island {
          // CHECK: %[[IDENTITY_N:.*]]:2 = "tf.IdentityN"
          // CHECK-SAME: (%[[ARG_0]], %[[ARG_1]])
          // CHECK: tf_executor.yield %[[IDENTITY_N]]#0, %[[IDENTITY_N]]#1
          tf_executor.yield %arg0, %arg1 : tensor<*xf32>, tensor<*xi32>
        }
        tf_executor.fetch
      }
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 28.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

      [(IsReshapeEquivalentToTranspose $transpose_out1, $output),
       (AnyStaticShapeTensor $input),
       (AnyStaticShapeTensor $output),
       (HasOneUse $transpose_out1)]>;
    
    // Partially supported in TFLite, treated as passthrough IdentityOp
    def ConvertCheckNumerics : Pat<(TF_CheckNumericsOp $arg, $msg), (TF_IdentityOp $arg)>;
    def ConvertSnapshot : Pat<(TF_SnapshotOp $arg), (TF_IdentityOp $arg)>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

        for (const auto& user : op.getUsers()) {
          if (user->template hasTrait<OpTrait::IsTerminator>()) return true;
          if (auto next_user = dyn_cast_or_null<TF::IdentityOp>(user)) {
            return (*(next_user->getResult(0).getUsers().begin()))
                ->template hasTrait<OpTrait::IsTerminator>();
          }
        }
        return false;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top