MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Div

Function Div

tensorflow/go/op/wrappers.go:33063–33075  ·  view source on GitHub ↗

Returns x / y element-wise. *NOTE*: `Div` supports broadcasting. More about broadcasting [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)

(scope *Scope, x tf.Output, y tf.Output)

Source from the content-addressed store, hash-verified

33061// *NOTE*: `Div` supports broadcasting. More about broadcasting
33062// [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
33063func Div(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) {
33064 if scope.Err() != nil {
33065 return
33066 }
33067 opspec := tf.OpSpec{
33068 Type: "Div",
33069 Input: []tf.Input{
33070 x, y,
33071 },
33072 }
33073 op := scope.AddOperation(opspec)
33074 return op.Output(0)
33075}
33076
33077// Returns x // y element-wise.
33078//

Callers 2

ReadTensorFromImageFileFunction · 0.50
ReadTensorFromImageFileFunction · 0.50

Calls 3

ErrMethod · 0.45
AddOperationMethod · 0.45
OutputMethod · 0.45

Tested by

no test coverage detected