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

Function RealDiv

tensorflow/go/op/wrappers.go:15186–15198  ·  view source on GitHub ↗

Returns x / y element-wise for real types. If `x` and `y` are reals, this will return the floating-point division. *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

15184// *NOTE*: `Div` supports broadcasting. More about broadcasting
15185// [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)
15186func RealDiv(scope *Scope, x tf.Output, y tf.Output) (z tf.Output) {
15187 if scope.Err() != nil {
15188 return
15189 }
15190 opspec := tf.OpSpec{
15191 Type: "RealDiv",
15192 Input: []tf.Input{
15193 x, y,
15194 },
15195 }
15196 op := scope.AddOperation(opspec)
15197 return op.Output(0)
15198}
15199
15200// ThreadUnsafeUnigramCandidateSamplerAttr is an optional argument to ThreadUnsafeUnigramCandidateSampler.
15201type ThreadUnsafeUnigramCandidateSamplerAttr func(optionalAttr)

Callers 3

TEST_FFunction · 0.85
TEST_FFunction · 0.85
RealDivGradFunction · 0.85

Calls 3

ErrMethod · 0.45
AddOperationMethod · 0.45
OutputMethod · 0.45

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68