Searched refs:op (Results 51 - 75 of 3466) sorted by relevance

1234567891011>>

/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
H A Doperator_test.cc59 std::unique_ptr<T> SerializeAndDeserialize(const BaseOperator& op, argument
63 Options input_options = op.Serialize(toco_op, &builder);
74 auto new_toco_op = op.Deserialize(output_options->builtin_options(),
113 AddOperator op; local
114 op.fused_activation_function = FusedActivationFunctionType::kRelu6;
116 SerializeAndDeserialize(GetOperator("ADD", OperatorType::kAdd), op);
117 EXPECT_EQ(op.fused_activation_function,
122 MeanOperator op; local
123 op.keep_dims = false;
126 SerializeAndDeserialize(GetOperator("MEAN", OperatorType::kMean), op);
131 CastOperator op; local
141 ConcatenationOperator op; local
149 DepthToSpaceOperator op; local
157 FakeQuantOperator op; local
169 FullyConnectedOperator op; local
178 GatherOperator op; local
185 L2PoolOperator op; local
201 LocalResponseNormalizationOperator op; local
217 MaxPoolOperator op; local
233 TensorFlowReshapeOperator op; local
241 SoftmaxOperator op; local
249 SpaceToDepthOperator op; local
257 TensorFlowSplitOperator op; local
265 AveragePoolOperator op; local
284 ConvOperator op; local
299 DepthwiseConvOperator op; local
316 L2NormalizationOperator op; local
325 MulOperator op; local
334 ResizeBilinearOperator op; local
342 SvdfOperator op; local
353 SqueezeOperator op; local
362 StridedSliceOperator op; local
384 TopKV2Operator op; local
391 TensorFlowUnsupportedOperator op; local
417 TensorFlowUnsupportedOperator op; local
[all...]
/external/tensorflow/tensorflow/python/ops/
H A Dcontrol_flow_util.py31 def IsInXLAContext(op):
33 xla_compile = op.get_attr("_XlaCompile")
37 ctxt = op._get_control_flow_context() # pylint: disable=protected-access
41 def IsInWhileLoop(op):
42 ctxt = op._get_control_flow_context() # pylint: disable=protected-access
46 def IsInCond(op):
47 ctxt = op._get_control_flow_context() # pylint: disable=protected-access
51 def IsSwitch(op):
52 """Return true if `op` is a Switch."""
53 return op
[all...]
H A Dimage_grad.py28 def _ResizeNearestNeighborGrad(op, grad):
32 op: The ResizeNearestNeighbor op.
38 image = op.inputs[0]
48 align_corners=op.get_attr("align_corners"))
54 def _ResizeBilinearGrad(op, grad):
58 op: The ResizeBilinear op.
66 grad, op.inputs[0], align_corners=op
[all...]
/external/skia/src/core/
H A DSkPictureCommon.h12 // SkTextHunter -- SkRecord visitor that returns true when the op draws text.
35 void operator()(const SkRecords::DrawPoints& op) { argument
36 this->checkPaint(&op.paint);
37 const SkPathEffect* effect = op.paint.getPathEffect();
41 if (2 == op.count && SkPaint::kRound_Cap != op.paint.getStrokeCap() &&
48 void operator()(const SkRecords::DrawPath& op) { argument
49 this->checkPaint(&op.paint);
50 if (op.paint.isAntiAlias() && !op
65 operator ()(const SkRecords::ClipPath& op) argument
72 operator ()(const SkRecords::SaveLayer& op) argument
77 operator ()(const T& op) argument
83 operator ()(const T& op) argument
[all...]
/external/skqp/src/core/
H A DSkPictureCommon.h12 // SkTextHunter -- SkRecord visitor that returns true when the op draws text.
35 void operator()(const SkRecords::DrawPoints& op) { argument
36 this->checkPaint(&op.paint);
37 const SkPathEffect* effect = op.paint.getPathEffect();
41 if (2 == op.count && SkPaint::kRound_Cap != op.paint.getStrokeCap() &&
48 void operator()(const SkRecords::DrawPath& op) { argument
49 this->checkPaint(&op.paint);
50 if (op.paint.isAntiAlias() && !op
65 operator ()(const SkRecords::ClipPath& op) argument
72 operator ()(const SkRecords::SaveLayer& op) argument
77 operator ()(const T& op) argument
83 operator ()(const T& op) argument
[all...]
/external/python/cpython2/Include/
H A Diterobject.h10 #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)
16 #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)
H A Dtupleobject.h36 #define PyTuple_Check(op) \
37 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
38 #define PyTuple_CheckExact(op) (Py_TYPE(op) == &PyTuple_Type)
50 #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i])
51 #define PyTuple_GET_SIZE(op) Py_SIZE(op)
54 #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))
[all...]
/external/python/cpython3/Include/
H A Diterobject.h12 #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type)
17 #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type)
/external/valgrind/none/tests/s390x/
H A Ddfp_utils.h10 #define DFP_VAL_PRINT(op, type) \
14 printf("%x", *((unsigned int *) &op)); \
16 printf("%lx", *((unsigned long *) &op)); \
18 printf("%lx%08lx", *((unsigned long *) &op), \
19 *(((unsigned long *) &op) + 1)); \
22 #define DFP_BINOP_PRINT(op1, op2, result, type, op, cc) \
25 printf(" "op" "); \
/external/javassist/src/main/javassist/compiler/ast/
H A DStmnt.java27 public Stmnt(int op, ASTree _head, ASTList _tail) { argument
29 operatorId = op;
32 public Stmnt(int op, ASTree _head) { argument
34 operatorId = op;
37 public Stmnt(int op) { argument
38 this(op, null);
41 public static Stmnt make(int op, ASTree oprand1, ASTree oprand2) { argument
42 return new Stmnt(op, oprand1, new ASTList(oprand2));
45 public static Stmnt make(int op, ASTree op1, ASTree op2, ASTree op3) { argument
46 return new Stmnt(op, op
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dhuman_readable_profile_builder.cc38 auto append_op = [&](const OpInfo& op) {
41 if (op.cycles <= 0 || op.bytes_accessed < 0) {
46 HumanReadableNumBytes(op.bytes_accessed / CyclesToSeconds(op.cycles));
47 if (op.bytes_accessed > op.cycles) {
48 bytes_per_cycle = HumanReadableNumBytes(op.bytes_accessed / op.cycles);
51 Printf("%.3fB", static_cast<float>(op
[all...]
H A Dwhile_util_test.cc25 namespace op = ::xla::testing::opcode_matchers;
81 op::Tuple(op::GetTupleElement(::testing::Eq(new_while_instr), 0),
82 op::GetTupleElement(::testing::Eq(new_while_instr), 1)));
85 op::Tuple(op::GetTupleElement(op::Parameter(0), 0),
86 op::GetTupleElement(op::Parameter(0), 1));
89 op
[all...]
H A Dtuple_util_test.cc25 namespace op = ::xla::testing::opcode_matchers;
59 EXPECT_THAT(prefix, op::Tuple(op::GetTupleElement(op::Parameter(0), 0),
60 op::GetTupleElement(op::Parameter(0), 1)));
74 EXPECT_THAT(with_suffix, op::Tuple(op::GetTupleElement(op::Parameter(0), 0),
75 op
[all...]
/external/capstone/cstool/
H A Dcstool_arm.c23 cs_arm_op *op = &(arm->operands[i]); local
24 switch((int)op->type) {
28 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg));
31 printf("\t\toperands[%u].type: IMM = 0x%x\n", i, op->imm);
38 printf("\t\toperands[%u].type: FP = %f\n", i, op->fp);
43 if (op->mem.base != X86_REG_INVALID)
45 i, cs_reg_name(handle, op->mem.base));
46 if (op->mem.index != X86_REG_INVALID)
48 i, cs_reg_name(handle, op->mem.index));
49 if (op
[all...]
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
H A Dfuse_activation_functions.cc38 // Find the op producing the array passed to this activation function
39 Operator* op = GetOpWithOutput(*model, ac_op->inputs[0]); local
41 if (!op) return false;
43 if (CountTrueOutputs(*model, *op) > 1) {
47 LogName(*op));
51 CHECK_EQ(op->outputs[0], ac_op->inputs[0]);
59 LogName(*op));
63 if (op->fused_activation_function != FusedActivationFunctionType::kNone) {
67 LogName(*op));
71 if (!OperatorSupportsFusedActivation(op
[all...]
H A Dresolve_slice_attributes.cc32 auto* op = static_cast<SliceOperator*>(slice_op);
33 if (!op->begin.empty()) return false;
35 CHECK_EQ(op->inputs.size(), 3);
36 if (!IsConstantParameterArray(*model, op->inputs[1])) return false;
37 if (!IsConstantParameterArray(*model, op->inputs[2])) return false;
39 const auto& begin_array = model->GetArray(op->inputs[1]);
42 const auto& size_array = model->GetArray(op->inputs[2]);
45 op->begin = begin_array.GetBuffer<ArrayDataType::kInt32>().data;
46 op->size = size_array.GetBuffer<ArrayDataType::kInt32>().data;
H A Dunfuse_activation_functions.cc30 auto* op = it->get(); local
33 if ((op->type == OperatorType::kConv) && (op->outputs.size() == 2)) {
38 switch (op->fused_activation_function) {
52 // At this point we know that the op has a fused activation function. At the
55 CHECK_EQ(op->outputs.size(), 1);
59 op->fused_activation_function = FusedActivationFunctionType::kNone;
62 // op to its new unfused activation function.
63 ac_op->outputs = op->outputs;
65 AvailableArrayName(*model, op
[all...]
/external/tensorflow/tensorflow/core/ops/
H A Dparsing_ops_test.cc17 #include "tensorflow/core/framework/op.h"
26 ShapeInferenceTestOp op("DecodeRaw");
29 INFER_OK(op, "?", "?");
30 INFER_OK(op, "[?,?,?]", "[d0_0,d0_1,d0_2,?]");
34 ShapeInferenceTestOp op("DecodeCSV");
35 auto set_n_outputs = [&op](int n) {
46 .Finalize(&op.node_def));
51 INFER_OK(op, "?;?;?", "in0;in0");
52 INFER_OK(op, "[1,2,?,4];?;?", "in0;in0");
53 INFER_OK(op, "[
[all...]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A Dsummaries.py48 tag: The tag to use, if None then use tensor's op's name.
57 tag = tag or '%s_summary' % tensor.op.name
66 tag: The tag to use, if None then use tensor's op's name.
74 tag = tag or '%s_summary' % tensor.op.name
78 def summarize_activation(op):
85 op: The tensor to summarize (assumed to be a layer activation).
87 The summary op created to summarize `op`.
89 if op.op
[all...]
/external/capstone/
H A DMCInst.c82 void MCOperand_Init(MCOperand *op) argument
84 op->Kind = kInvalid;
85 op->FPImmVal = 0.0;
88 bool MCOperand_isValid(const MCOperand *op) argument
90 return op->Kind != kInvalid;
93 bool MCOperand_isReg(const MCOperand *op) argument
95 return op->Kind == kRegister;
98 bool MCOperand_isImm(const MCOperand *op) argument
100 return op->Kind == kImmediate;
103 bool MCOperand_isFPImm(const MCOperand *op) argument
109 MCOperand_getReg(const MCOperand *op) argument
115 MCOperand_setReg(MCOperand *op, unsigned Reg) argument
120 MCOperand_getImm(MCOperand *op) argument
125 MCOperand_setImm(MCOperand *op, int64_t Val) argument
130 MCOperand_getFPImm(const MCOperand *op) argument
135 MCOperand_setFPImm(MCOperand *op, double Val) argument
142 MCOperand *op = &(mcInst->Operands[MCINST_CACHE]); local
152 MCOperand *op = &(mcInst->Operands[mcInst->size]); local
161 MCOperand *op = &(mcInst->Operands[MCINST_CACHE]); local
171 MCOperand *op = &(mcInst->Operands[mcInst->size]); local
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fShaderLoopTests.cpp280 std::ostringstream& op = isVertexCase ? vtx : frag; local
312 op << "uniform ${COUNTER_PRECISION} int " << getIntUniformName(numLoopIters) << ";\n";
317 op << "uniform ${COUNTER_PRECISION} float " << getFloatFractionUniformName(numLoopIters) << ";\n";
320 op << "uniform ${COUNTER_PRECISION} float uf_one;\n";
356 op << " ${PRECISION} vec4 res = coords;\n";
410 op << " for (" + loopCountDeclStr + "; " + loopCmpStr + "; " + incrementStr + ")\n";
411 op << " {\n";
412 op << loopBody;
413 op << " }\n";
417 op << "\
488 std::ostringstream& op = isVertexCase ? vtx : frag; local
[all...]
/external/python/cpython2/Modules/zlib/
H A Dinffast.c91 unsigned op; /* code bits, operation, extra bits, or */ local
129 op = (unsigned)(here.bits);
130 hold >>= op; local
131 bits -= op;
132 op = (unsigned)(here.op);
133 if (op == 0) { /* literal */
139 else if (op & 16) { /* length base */
141 op &= 15; /* number of extra bits */
142 if (op) {
148 hold >>= op; local
161 hold >>= op; local
183 hold >>= op; local
[all...]
/external/python/cpython3/Modules/zlib/
H A Dinffast.c74 unsigned op; /* code bits, operation, extra bits, or */ local
112 op = (unsigned)(here.bits);
113 hold >>= op; local
114 bits -= op;
115 op = (unsigned)(here.op);
116 if (op == 0) { /* literal */
122 else if (op & 16) { /* length base */
124 op &= 15; /* number of extra bits */
125 if (op) {
131 hold >>= op; local
144 hold >>= op; local
166 hold >>= op; local
[all...]
/external/syslinux/com32/lib/zlib/
H A Dinffast.c91 unsigned op; /* code bits, operation, extra bits, or */ local
129 op = (unsigned)(here.bits);
130 hold >>= op; local
131 bits -= op;
132 op = (unsigned)(here.op);
133 if (op == 0) { /* literal */
139 else if (op & 16) { /* length base */
141 op &= 15; /* number of extra bits */
142 if (op) {
148 hold >>= op; local
161 hold >>= op; local
183 hold >>= op; local
[all...]
/external/zlib/src/
H A Dinffast.c74 unsigned op; /* code bits, operation, extra bits, or */ local
112 op = (unsigned)(here.bits);
113 hold >>= op; local
114 bits -= op;
115 op = (unsigned)(here.op);
116 if (op == 0) { /* literal */
122 else if (op & 16) { /* length base */
124 op &= 15; /* number of extra bits */
125 if (op) {
131 hold >>= op; local
144 hold >>= op; local
166 hold >>= op; local
[all...]

Completed in 702 milliseconds

1234567891011>>