Skip to content

Added ClipByValue testdata#761

Merged
alalek merged 1 commit intoopencv:3.4from
l-bat:tf_clamp_subgraph
May 26, 2020
Merged

Added ClipByValue testdata#761
alalek merged 1 commit intoopencv:3.4from
l-bat:tf_clamp_subgraph

Conversation

@l-bat
Copy link
Copy Markdown
Contributor

@l-bat l-bat commented May 26, 2020

No description provided.

@l-bat l-bat changed the base branch from master to 3.4 May 26, 2020 11:46
save(sess.graph.get_tensor_by_name('keras_relu6_input:0'),
sess.graph.get_tensor_by_name('keras_relu6/clip_by_value:0'), 'keras_relu6', optimize=False)
################################################################################
inp = tf.placeholder(tf.float32, [2, 3], 'input')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will it correctly work with non-OpenCV backends?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Locally it works on DLIE, NGRAPH, and OCV backends.

@alalek alalek merged commit e0ed8ac into opencv:3.4 May 26, 2020
@alalek alalek mentioned this pull request May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants