- Sort Score
- Result 10 results
- Languages All
Results 51 - 56 of 56 for identity_op (0.33 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
tf_executor.yield %identity : tensor<i32> } %island_1_result, %island_1_control = tf_executor.island { %identity_n:2 = "tf.IdentityN"(%arg1, %island_0_result) : (tensor<i32>, tensor<i32>) -> (tensor<i32>, tensor<i32>) tf_executor.yield %identity_n#0 } tf_executor.fetch %island_0_result, %island_1_result : tensor<i32>, tensor<i32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc
} // Trace the graph to find out the actual operation. Value getActualValue(Operation *op) { if (isa<TF::CastOp>(op)) { op = op->getOperand(0).getDefiningOp(); } if (isa<TF::IdentityOp>(op)) { op = op->getOperand(0).getDefiningOp(); } return op->getResult(0); } Value CreateXlaDotV2OpFromTfEinsumOp(OpBuilder &builder, Location loc,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 47.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize.mlir
} // CHECK-LABEL: @FuseReshapeAroundBMMRHS func.func @FuseReshapeAroundBMMRHS(%arg0: tensor<1x3x6x5x1024xf32>) -> tensor<1x3x6x5x8192xf32> attributes {tf.entry_function = {control_outputs = "", inputs = "inputs", outputs = "Identity_1"}} { %cst = arith.constant dense_resource<__elided__> : tensor<1x1024x8192xf32> %cst_0 = arith.constant dense_resource<__elided__> : tensor<5xi32> %cst_1 = arith.constant dense_resource<__elided__> : tensor<3xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 284.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
namespace mlir { namespace TF { namespace { // Returns the equivalent Value skipping through identity nodes. Value LookThroughIdentity(Value result) { while (isa_and_nonnull<IdentityOp, IdentityNOp>(result.getDefiningOp())) { auto op_result = result.cast<OpResult>(); result = op_result.getOwner()->getOperand(op_result.getResultNumber()); } return result; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
} return success(); } }; // Bypasses IdentityN op. class ConvertIdentityNOp : public OpRewritePattern<TF::IdentityNOp> { public: using OpRewritePattern<TF::IdentityNOp>::OpRewritePattern; LogicalResult matchAndRewrite(TF::IdentityNOp op, PatternRewriter &rewriter) const override { rewriter.replaceOp(op, op.getOperands()); return success();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
such that dx = g(dy). In Python, ```python with tf.get_default_graph().gradient_override_map( {'IdentityN': 'OverrideGradientWithG'}): y, _ = identity_n([f(x), x]) @tf.RegisterGradient('OverrideGradientWithG') def ApplyG(op, dy, _): return [None, g(dy)] # Do not backprop to f(x). ``` }]; let arguments = (ins
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0)