Home
last modified time | relevance | path

Searched refs:IdentityNOp (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Didentity_n_op.cc27 REGISTER_KERNEL_BUILDER(Name("IdentityN").Device(DEVICE_DEFAULT), IdentityNOp);
29 IdentityNOp);
Didentity_n_op.h23 class IdentityNOp : public OpKernel {
25 explicit IdentityNOp(OpKernelConstruction* context) : OpKernel(context) {} in IdentityNOp() function
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dattribute_utils.h53 class IdentityNOp; variable
61 if (!isa<IdentityOp>(op) && !isa<IdentityNOp>(op)) break; in GetValueAsConstant()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_identity_pruning.cc81 if (isa<TF::IdentityOp, TF::IdentityNOp>(op)) { in RemoveIdentityFromRegion()
Dtpu_device_propagation.cc104 isa<TF::IdentityOp, TF::IdentityNOp, TF::ShapeOp>(op); in IsSupportedOpToSetDevice()
Dcollection_ops_util.cc199 } else if (llvm::isa<TF::IdentityOp, TF::IdentityNOp>(use.getOwner())) { in GetElementTypeFromAccess()
Dresource_op_lifting_cleanup.cc45 if (isa<TF::IdentityOp, TF::IdentityNOp>(op) || IsCastOfResource(op)) { in RemovePassthroughOp()
Dtpu_variable_runtime_reformatting.cc130 if (!llvm::isa<TF::IdentityOp, TF::IdentityNOp>(op)) { in SkipIdentity()
Dtensor_array_ops_decomposition.cc486 if (llvm::isa<TF::IdentityOp, TF::IdentityNOp>(op)) { in AccessedGradients()
867 if (llvm::isa<TF::IdentityOp, TF::IdentityNOp>(&op)) { in DecomposeTensorArrayOps()
Dstack_ops_decomposition.cc509 if (llvm::isa<TF::IdentityOp, TF::IdentityNOp>(&op)) { in DecomposeStackOpsInternal()
Dtensor_list_ops_decomposition.cc821 if (llvm::isa<TF::IdentityOp, TF::IdentityNOp>(&op)) { in DecomposeTensorListOpsInternal()
Dshape_inference.cc1039 if (isa<TF::IdentityOp, TF::IdentityNOp, TF::ZerosLikeOp>(op)) { in InferShapeForSingleOperation()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dresource_alias_analysis.cc194 } else if (isa<IdentityNOp, IdentityOp>(op)) { in BacktrackValue()
312 } else if (llvm::isa<IdentityNOp, IdentityOp>(op)) { in ResourceAliasAnalysisInfo()
Dside_effect_analysis.cc189 return llvm::isa<TF::IdentityNOp, TF::IdentityOp>(op) && in OpIsDeclaration()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dbreakup-islands.cc140 auto identity_n = builder.create<TF::IdentityNOp>( in PopulateEmptyIsland()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc358 .create<tosa::IdentityNOp>(op->getLoc(), ArrayRef<Type>(outs_type_vec), in convertUnpackOp()
1910 .create<tosa::IdentityNOp>(op->getLoc(), ArrayRef<Type>(outs_type_vec), in convertSplitOp()
1993 .create<tosa::IdentityNOp>(op->getLoc(), ArrayRef<Type>(outs_type_vec), in convertSplitVOp()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc1713 class ConvertIdentityNOp : public OpRewritePattern<TF::IdentityNOp> {
1715 using OpRewritePattern<TF::IdentityNOp>::OpRewritePattern;
1716 LogicalResult matchAndRewrite(TF::IdentityNOp op, in matchAndRewrite()