projects
/
platform
/
core
/
ml
/
nnfw.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.21.0
[platform/core/ml/nnfw.git]
/
res
/
TensorFlowPythonExamples
/
examples
/
local_response_normalization
/
__init__.py
1
import tensorflow as tf
2
3
tf.compat.v1.disable_eager_execution()
4
5
x_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(1, 4, 4, 20), name="Hole")
6
op_ = tf.compat.v1.nn.lrn(x_, 5, 1.0, 1.0, 0.5)