Searched defs:div (Results 51 - 75 of 105) sorted by relevance

12345

/external/tensorflow/tensorflow/compiler/xla/tests/
H A Darray_elementwise_ops_test.cc457 auto div = builder.Div(a, b); local
467 auto div = builder.Div(a, b); local
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
H A Dcore.py426 return div(self, other)
431 return div(other, self)
1179 div = define_binary_op('div', math_ops.div) variable
/external/tensorflow/tensorflow/core/grappler/optimizers/
H A Darithmetic_optimizer_test.cc69 Output div = ops::Div(s.WithOpName("div"), c1, c2); local
72 item.fetch = {"div"};
87 EXPECT_EQ("div", new_div.name());
101 Output div = ops::Div(s.WithOpName("div").WithControlDependencies( local
106 item.fetch = {"div"};
135 item.fetch = {"div"};
/external/tensorflow/tensorflow/core/kernels/
H A Dcwise_ops.h513 // div and mod.
706 // div(x, y) = x / y
730 struct div : base<T, Eigen::internal::scalar_quotient_op<T>> {}; struct in namespace:tensorflow::functor
/external/tensorflow/tensorflow/python/ops/
H A Dmath_ops.py23 @@div
992 # NOTE: the support of "sparse (true)div dense" is currently not baked in into
993 # "tf.(true_)div()". Until such an API decision is made, the supported usage is
994 # to explicitly use the "/" operator to invoke either truediv or div.
1047 with ops.name_scope(name, "div", [x, y]) as name:
1093 @tf_export("div")
1094 def div(x, y, name=None): function
1125 The same as `tf.div(x,y)` for integers, but uses `tf.floor(tf.div(x,y))` for
1173 # div, truedi
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderDerivateTests.cpp975 const float div = isX ? float(result.getWidth()) : float(result.getHeight()); local
977 tcu::Vec4 reference = ((m_values.coordMax - m_values.coordMin) / div);
1269 const float div = isX ? w : h; local
1271 tcu::Vec4 reference = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / div);
H A DvktShaderRenderOperatorTests.cpp63 // \note stdlib.h defines div() that is not compatible with the macros.
64 template<typename T> inline T div (T a, T b) { return a / b; } function in namespace:vkt::sr::__anon4517
1008 DECLARE_BINARY_GENTYPE_FUNCS(div)
1023 DECLARE_BINARY_INT_GENTYPE_FUNCS(div)
1049 DECLARE_BINARY_UINT_GENTYPE_FUNCS(div)
1403 const char* divName = isNormalOp ? "div" : isAssignEff ? "div_assign_effect" : "div_assign_result";
1502 << operInfoFunc(divName, divOp, GT, Value(GT, -1.0f, 1.0f), Value(GT, -2.0f, -0.5f), notUsed, 1.0f, 0.0f, PRECMASK_ALL, FLOAT_GENTYPE_FUNCS(div))
1503 << operInfoFunc(divName, divOp, IGT, Value(IGT, 24.0f, 24.0f), Value(IGT, -4.0f, -1.0f), notUsed, 0.04f, 1.0f, PRECMASK_MEDIUMP, INT_GENTYPE_FUNCS(div))
1504 << operInfoFunc(divName, divOp, IGT, Value(IGT, 40320.0f, 40320.0f), Value(IGT, -8.0f, -1.0f), notUsed, 1e-5f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(div))
1505 << operInfoFunc(divName, divOp, UGT, Value(UGT, 0.0f, 24.0f), Value(UGT, 1.0f, 4.0f), notUsed, 0.04f, 0.0f, PRECMASK_MEDIUMP, UINT_GENTYPE_FUNCS(div))
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderDerivateTests.cpp1061 const float div = isX ? float(result.getWidth()) : float(result.getHeight()); local
1063 const tcu::Vec4 reference = ((m_coordMax - m_coordMin) / div) * scale;
1356 const float div = isX ? w : h; local
1358 const tcu::Vec4 reference = ((m_texValueMax - m_texValueMin) / div) * scale;
H A Des3fShaderOperatorTests.cpp78 // \note stdlib.h defines div() that is not compatible with the macros.
79 template<typename T> inline T div (T a, T b) { return a / b; } function in namespace:deqp::gles3::Functional
1067 DECLARE_BINARY_GENTYPE_FUNCS(div)
1082 DECLARE_BINARY_INT_GENTYPE_FUNCS(div)
1108 DECLARE_BINARY_UINT_GENTYPE_FUNCS(div)
1434 const char* divName = isNormalOp ? "div" : isAssignEff ? "div_assign_effect" : "div_assign_result";
1533 << operInfoFunc(divName, divOp, GT, Value(GT, -1.0f, 1.0f), Value(GT, -2.0f, -0.5f), notUsed, 1.0f, 0.0f, PRECMASK_ALL, FLOAT_GENTYPE_FUNCS(div))
1534 << operInfoFunc(divName, divOp, IGT, Value(IGT, 24.0f, 24.0f), Value(IGT, -4.0f, -1.0f), notUsed, 0.04f, 1.0f, PRECMASK_LOWP_MEDIUMP, INT_GENTYPE_FUNCS(div))
1535 << operInfoFunc(divName, divOp, IGT, Value(IGT, 40320.0f, 40320.0f), Value(IGT, -8.0f, -1.0f), notUsed, 1e-5f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(div))
1536 << operInfoFunc(divName, divOp, UGT, Value(UGT, 0.0f, 24.0f), Value(UGT, 1.0f, 4.0f), notUsed, 0.04f, 0.0f, PRECMASK_LOWP_MEDIUMP, UINT_GENTYPE_FUNCS(div))
[all...]
/external/deqp/modules/glshared/
H A DglsLongStressCase.cpp160 static inline int nextDivisible (const int x, const int div) argument
163 DE_ASSERT(div >= 1);
164 return x == 0 ? 0 : x-1 + div - (x-1) % div;
/external/mdnsresponder/mDNSPosix/
H A DNetMonitor.c825 int h, m, s, mul, div, TotPkt; local
875 div = tv_interval.tv_sec;
880 div = tv_interval.tv_sec * 1000 + tv_interval.tv_usec / 1000;
881 if (div == 0) div=1;
899 mprintf("Modern Query Packets: %7d (avg%5d/min)\n", NumPktQ, NumPktQ * mul / div);
900 mprintf("Legacy Query Packets: %7d (avg%5d/min)\n", NumPktL, NumPktL * mul / div);
901 mprintf("Multicast Response Packets: %7d (avg%5d/min)\n", NumPktR, NumPktR * mul / div);
902 mprintf("Total Multicast Packets: %7d (avg%5d/min)\n", TotPkt, TotPkt * mul / div);
904 mprintf("Total New Service Probes: %7d (avg%5d/min)\n", NumProbes, NumProbes * mul / div);
[all...]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
H A DAppleScript_Suite.py345 def div(self, _object, _attributes={}, **_arguments): member in class:AppleScript_Suite_Events
346 """div: Quotient
352 _subcode = 'div '
/external/python/cpython2/Objects/
H A Dfloatobject.c752 double div, mod, floordiv; local
763 vx - mod is an approximation; the result is that div may
767 div = (vx - mod) / wx;
772 div -= 1.0;
785 if (div) {
786 floordiv = floor(div);
787 if (div - floordiv > 0.5)
791 /* div is zero - get the same sign as the true quotient */
792 div *= div; /* hid
[all...]
H A Dintobject.c792 long div, mod; local
793 switch (i_divmod(ix, iz, &div, &mod)) {
1212 long div = n / base; local
1213 long mod = n - div * base;
1220 n = div;
H A Dlongobject.c2097 assert(size_v >= size_w && size_w >= 2); /* Assert checks by div() */
3004 have different signs. We then subtract one from the 'div'
3017 PyLongObject *div, *mod; local
3019 if (long_divrem(v, w, &div, &mod) < 0)
3029 Py_DECREF(div);
3034 (temp = (PyLongObject *) long_sub(div, one)) == NULL) {
3036 Py_DECREF(div);
3041 Py_DECREF(div);
3042 div = temp;
3045 *pdiv = div;
3060 PyLongObject *a, *b, *div; local
3073 PyLongObject *a, *b, *div; local
3297 PyLongObject *div, *rem; local
3370 PyLongObject *a, *b, *div, *mod; local
[all...]
/external/python/cpython3/Objects/
H A Dfloatobject.c623 double div, mod, floordiv; local
634 vx - mod is an approximation; the result is that div may
638 div = (vx - mod) / wx;
643 div -= 1.0;
653 if (div) {
654 floordiv = floor(div);
655 if (div - floordiv > 0.5)
659 /* div is zero - get the same sign as the true quotient */
H A Dlongobject.c2619 assert(size_v >= size_w && size_w >= 2); /* Assert checks by div() */
3622 sdigit div; local
3629 div = left / right;
3633 div = -1 - (left - 1) / right;
3636 return PyLong_FromLong(div);
3651 have different signs. We then subtract one from the 'div'
3664 PyLongObject *div, *mod; local
3668 div = NULL;
3670 div = (PyLongObject *)fast_floor_div(v, w);
3671 if (div
3731 PyLongObject *div; local
3957 PyLongObject *div, *rem; local
4026 PyLongObject *div, *mod; local
[all...]
/external/swiftshader/third_party/subzero/src/
H A DIceAssemblerMIPS32.cpp565 void AssemblerMIPS32::div(const Operand *OpRs, const Operand *OpRt) { function in class:Ice::MIPS32::AssemblerMIPS32
567 emitRsRt(Opcode, OpRs, OpRt, "div");
573 emitCOP1FmtFtFsFd(Opcode, DoublePrecision, OpFd, OpFs, OpFt, "div.d");
579 emitCOP1FmtFtFsFd(Opcode, SinglePrecision, OpFd, OpFs, OpFt, "div.s");
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dalgebraic_simplifier_test.cc217 HloInstruction* div = builder.AddInstruction( local
220 HloInstruction::CreateBinary(r0f32, HloOpcode::kDivide, div, param2));
245 HloInstruction* div = builder.AddInstruction( local
248 HloInstruction::CreateBinary(r0f32, HloOpcode::kDivide, param0, div));
466 HloInstruction* div = builder.AddInstruction( local
471 EXPECT_EQ(root, div);
487 HloInstruction* div = builder.AddInstruction( local
492 EXPECT_EQ(root, div);
741 HloInstruction* div = builder.AddInstruction( local
744 HloInstruction::CreateUnary(r0f32, HloOpcode::kLog, div));
[all...]
/external/v8/src/x87/
H A Dassembler-x87.cc823 void Assembler::div(const Operand& src) { function in class:v8::internal::Assembler
/external/swiftshader/src/OpenGL/compiler/
H A DOutputASM.cpp1234 Instruction *div = emit(sw::Shader::OPCODE_DIV, &invDet, &one, &invDet); local
1235 div->src[1].swizzle = 0x00; // xxxx
/external/swiftshader/src/Shader/
H A DShaderCore.cpp733 void ShaderCore::div(Vector4f &dst, const Vector4f &src0, const Vector4f &src1) function in class:sw::ShaderCore
/external/v8/src/compiler/
H A Dsimplified-lowering.cc3317 Node* div = graph()->NewNode(machine()->Uint32Div(), lhs, rhs, d.if_false); local
3318 return d.Phi(MachineRepresentation::kWord32, zero, div);
/external/valgrind/VEX/priv/
H A Dhost_s390_defs.h424 } div; member in union:__anon28559::__anon28560
/external/v8/src/ia32/
H A Dassembler-ia32.cc952 void Assembler::div(const Operand& src) { function in class:v8::internal::Assembler

Completed in 845 milliseconds

12345