Random Uniform MO implementation (#6694)
* Added RandomUniform operation.
* Conflicts fix.
* Fix conflicts.
* Fix conflicts.
* Added ONNX extractor, fixed FP16 conversion, added double implementation.
* int32, int64 types.
* Added initial type attribute.
* Added extractors for MxNet and TF for RandomUniformInt.
* Fixed ChangeRandomUniformOutputType transformation.
* Corrected ONNX, MxNetextractors.
* Fixed extender.
* Code style corrected, updated BOM file.
* Small correction.
* Code reformat.
* Fixed type check.
* Small corrections, code style.
* Added RandomUniform tests to manifest file.
* Include fixed.
* Code style.
* Small corrections.
* Tests fixed.
* Manifest file updated.
* Removed initial type attribute.
* Small correction.
* Fixed problem with Const types change.
* Update ngraph/core/include/ngraph/op/random_uniform.hpp
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* Update ngraph/core/src/op/random_uniform.cpp
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* Update ngraph/core/src/op/random_uniform.cpp
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* Applied comments to shell implementation.
* Applied comments to shell implementation.
* Moved shell and reference to separate PR.
* Moved shell and reference to separate PR.
* Corrected comments, code refactoring.
* Fixed seed attributes.
* Corrected mxnet extractor.
* Returned RandomUniform onnx extractor.
* Small fix.
* Used generator in tests, fixed input ports count in AttributedRandomUniform.
* Temporarily added DropoutWithRandomUniformReplacer and debug output.
* Temporarily added DropoutWithRandomUniformReplacer and debug output.
* Temporarily added DropoutWithRandomUniformReplacer and debug output.
* Temporarily added DropoutWithRandomUniformReplacer and debug output.
* Moved DropoutWithRandomUniformReplacer to ngraph, removed debug output.
* Fixed wrong change.
* Fixed wrong change.
* Added check that RandomUniform is in ShapeOf subgraph.
* Added layer tests, updated supported operations list.
* Small correction.
* Fix conflicts.
* Fix conflicts.
* Small fix.
* Used const for not changing values.
* Apply suggestions from code review
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
* Added IR check in layer tests.
* Fixed error.
* Fixed test.
* Update inference-engine/src/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
* Removed ShapeOf and Mul from DropoutWithRandomUniformReplacer.
* Replaced register_new_node with make_shared.
* Added fp16 test.
* Extended for RandomUniform->Convert case.
* Used modf().
* Removed modf().
* Update inference-engine/src/transformations/src/transformations/common_optimizations/dropout_with_random_uniform_replacer.cpp
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
* Added negative tests, added nullptr check for add_const_value.
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>