.* in tf
This commit is contained in:
parent
a1b1d87767
commit
ec1950b466
@ -9,6 +9,7 @@ cvalue(v::Vertex) = cvalue(value(v))
|
||||
graph(x::Tensor) = x
|
||||
|
||||
graph(::typeof(*), args...) = *(args...)
|
||||
graph(::typeof(.*), args...) = .*(args...)
|
||||
graph(::typeof(+), args...) = +(args...)
|
||||
graph(::typeof(softmax), x) = nn.softmax(x)
|
||||
graph(::typeof(relu), x) = nn.relu(x)
|
||||
|
Loading…
Reference in New Issue
Block a user