forked from openvino-dev-samples/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TF FE] Port operation loaders and refactor preliminary versions (ope…
…nvinotoolkit#8150) * Migrate POC for TensorFlow frontend Signed-off-by: Roman Kazantsev <[email protected]> * Refactor InputModelTensorFlow API Signed-off-by: Roman Kazantsev <[email protected]> * Repack POC to official API Signed-off-by: Roman Kazantsev <[email protected]> * Remove tensorflow API from public include Signed-off-by: Roman Kazantsev <[email protected]> * Make TF frontend work from MO and clean-up code Signed-off-by: Roman Kazantsev <[email protected]> * Apply codestyle * Fix win biuld * Fix Linux build Signed-off-by: Roman Kazantsev <[email protected]> * Implement Place class Signed-off-by: Roman Kazantsev <[email protected]> * Determine outputs from graph * Implement all Place classes Signed-off-by: Roman Kazantsev <[email protected]> * Make small clean-up Signed-off-by: Roman Kazantsev <[email protected]> * Apply code-style corrections Signed-off-by: Roman Kazantsev <[email protected]> * Determine cut nodes * Apply codestyle * Rework to use places * Fix conversion issue * Fix build * Fix conversion * Small fixes * Add test for tf frontend * Add tests * Implement partial conversion * Use dynamic type in TFFrameworkNode * Fix build on Linux * Implement InputModelTF class Signed-off-by: Roman Kazantsev <[email protected]> * Fix code by replacing InputModelTensorFlow to InputModelTF Signed-off-by: Roman Kazantsev <[email protected]> * Fix to pass getPlaceByTensorName test Signed-off-by: Roman Kazantsev <[email protected]> * Refactor and clean the code Signed-off-by: Roman Kazantsev <[email protected]> * Finalize refactoring code Signed-off-by: Roman Kazantsev <[email protected]> * Support freezing inputs Signed-off-by: Roman Kazantsev <[email protected]> * Add support for pruning input ports as new model output Signed-off-by: Roman Kazantsev <[email protected]> * Apply code-style fixes Signed-off-by: Roman Kazantsev <[email protected]> * move op convertors to separate files, refactoring * openvino codestyle * openvino codestyle * fix crash of layer tests * fix missprint * Implement TensorFlow NodeContext and DecoderTFProto classes Signed-off-by: Roman Kazantsev <[email protected]> * Switch to new NodeContext Signed-off-by: Roman Kazantsev <[email protected]> * Remove ngraph_builder class and node_context_impl class Signed-off-by: Roman Kazantsev <[email protected]> * Move decoder/graph_iterator to separate files and remove old files Signed-off-by: Roman Kazantsev <[email protected]> * Document Decoder, GraphIterator, and NodeContext classes Signed-off-by: Roman Kazantsev <[email protected]> * Apply code style Signed-off-by: Roman Kazantsev <[email protected]> * Remove empty file graph_iterator_proto.cpp and redundant comments Signed-off-by: Roman Kazantsev <[email protected]> * Use base class for GraphIterator in model class and correct exception class Signed-off-by: Roman Kazantsev <[email protected]> * Use ends_with from util library * Remain only InputModelTF constructor with GraphIterator and adopt other code Signed-off-by: Roman Kazantsev <[email protected]> * Correct code after merge Signed-off-by: Roman Kazantsev <[email protected]> * Apply code style Signed-off-by: Roman Kazantsev <[email protected]> * Fix code based on feedback: delete extra namespace usage, etc. Signed-off-by: Roman Kazantsev <[email protected]> * refactoring of tf FrontEnd: rename namespaces, delete default opset * codestyle * fix e2e tests * change namespaces of external classes * resolve review comment * codestyle * Enable translators for Size,Shape,Rank,Range,Reshape ops * Add translators for MatMul,Reciprocal,Square,XdivY ops * enable Translators for Where,Log1p, Transpose, ZerosLike, Pack ops * Enable Split,IsFinite,Tile ops, refactor Reduce ops * Add Reverse,Round ops * fix codestyle * Enable Unpack, L2Loss ops * Add LRN, GatherND, TopK ops, fix Reduce ops * codestyle * Revising of StridedSlice,SplitV,SpaceToDepth ops * Add Concat,FusedBatchNormEx,Slice,SpaceToDepth ops * Add Interpolate,BatchToSpaceNd,SpaceToBatchNd,NonMaxSuppression ops support * codestyle * Port CropAndResize,FakeQuantMinMaxVars,FusedDepthwiseConv2d * fix translators * codestyle * Resolve review remarks * fix wrong merge * fix incorrect merge, refactoring * add LeakyRelu op * codestyle * Add LogicalXor operation * Add support for Swish op, set correct tensor names, refactoring * fix incorrect merge * codestyle * fix unit tests * fix build * Refactoring * codestyle * fix win build * fix reduce op * Investigate failures on Windows * add debug prints * debug prints * debug prints * Delete debug prints * clean up * clean up * codestyle * delete debug changes * Delete redandant comments * rename utils functions * rename translators * rename layout convertors * resolve review comments * resolve review comments: * codestyle * rename NodeContext methods * add todo comment * Remove internal tf ops from op_table * fix decode Co-authored-by: Roman Kazantsev <[email protected]> Co-authored-by: Maxim Vafin <[email protected]>
- Loading branch information
1 parent
279d905
commit 5dacaa3
Showing
87 changed files
with
2,340 additions
and
1,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.