Searched refs:op (Results 126 - 150 of 3466) sorted by relevance

1234567891011>>

/external/tensorflow/tensorflow/core/api_def/
H A Dapi_test.cc26 #include "tensorflow/core/framework/op.h"
66 (*name_to_api_def)[api_defs.op(0).graph_op_name()] = api_defs.op(0);
73 for (const auto& op : ops.op()) {
74 op_names.insert(op.name());
78 << name_and_api_def.first << " op has ApiDef but missing from ops. "
85 for (const auto& op : ops.op()) {
86 const auto api_def_iter = api_defs_map.find(op
[all...]
/external/tensorflow/tensorflow/python/ops/
H A Dtensor_array_grad.py42 """Identify which call to tf.gradients created this gradient op or tensor.
73 "Expected op/tensor name to start with gradients (excluding scope)"
81 def _TensorArrayReadGrad(op, grad):
85 op: Forward TensorArrayRead op.
96 # the input flow of the original op.
97 handle = op.inputs[0]
98 index = op.inputs[1]
99 flow = op.inputs[2]
100 dtype = op
[all...]
H A Dmath_grad.py39 def _SumGrad(op, grad):
43 input_0_shape = op.inputs[0]._shape_tuple() # pylint: disable=protected-access
45 axes = tensor_util.constant_value(op.inputs[1])
54 input_shape = array_ops.shape(op.inputs[0])
57 input_shape = array_ops.shape(op.inputs[0])
61 output_shape_kept_dims = math_ops.reduced_shape(input_shape, op.inputs[1])
67 def _MinOrMaxGrad(op, grad):
69 input_shape = array_ops.shape(op.inputs[0])
70 output_shape_kept_dims = math_ops.reduced_shape(input_shape, op.inputs[1])
71 y = op
[all...]
/external/capstone/cstool/
H A Dcstool_x86.c75 cs_x86_op *op = &(x86->operands[i]); local
77 switch((int)op->type) {
79 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(ud, op->reg));
82 printf("\t\toperands[%u].type: IMM = 0x%" PRIx64 "\n", i, op->imm);
86 if (op->mem.segment != X86_REG_INVALID)
87 printf("\t\t\toperands[%u].mem.segment: REG = %s\n", i, cs_reg_name(ud, op->mem.segment));
88 if (op->mem.base != X86_REG_INVALID)
89 printf("\t\t\toperands[%u].mem.base: REG = %s\n", i, cs_reg_name(ud, op->mem.base));
90 if (op->mem.index != X86_REG_INVALID)
91 printf("\t\t\toperands[%u].mem.index: REG = %s\n", i, cs_reg_name(ud, op
[all...]
H A Dcstool_sparc.c24 cs_sparc_op *op = &(sparc->operands[i]); local
25 switch((int)op->type) {
29 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg));
32 printf("\t\toperands[%u].type: IMM = 0x%x\n", i, op->imm);
36 if (op->mem.base != X86_REG_INVALID)
38 i, cs_reg_name(handle, op->mem.base));
39 if (op->mem.index != X86_REG_INVALID)
41 i, cs_reg_name(handle, op->mem.index));
42 if (op->mem.disp != 0)
43 printf("\t\t\toperands[%u].mem.disp: 0x%x\n", i, op
[all...]
/external/javassist/src/main/javassist/compiler/ast/
H A DExpr.java33 Expr(int op, ASTree _head, ASTList _tail) { argument
35 operatorId = op;
38 Expr(int op, ASTree _head) { argument
40 operatorId = op;
43 public static Expr make(int op, ASTree oprand1, ASTree oprand2) { argument
44 return new Expr(op, oprand1, new ASTList(oprand2));
47 public static Expr make(int op, ASTree oprand1) { argument
48 return new Expr(op, oprand1);
53 public void setOperator(int op) { operatorId = op; } argument
[all...]
/external/mesa3d/src/compiler/glsl/
H A Dhir_field_selection.cpp36 ir_rvalue *op; local
38 op = expr->subexpressions[0]->hir(instructions, state);
47 if (op->type->is_error()) {
49 } else if (op->type->base_type == GLSL_TYPE_STRUCT
50 || op->type->base_type == GLSL_TYPE_INTERFACE) {
51 result = new(ctx) ir_dereference_record(op,
59 } else if (op->type->is_vector() ||
60 (state->has_420pack() && op->type->is_scalar())) {
61 ir_swizzle *swiz = ir_swizzle::create(op,
63 op
[all...]
/external/python/cpython2/Include/
H A Ddatetime.h170 #define PyDate_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateType)
171 #define PyDate_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DateType)
173 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType)
174 #define PyDateTime_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DateTimeType)
176 #define PyTime_Check(op) PyObject_TypeCheck(op,
[all...]
H A Dlistobject.h43 #define PyList_Check(op) \
44 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
45 #define PyList_CheckExact(op) (Py_TYPE(op) == &PyList_Type)
61 #define PyList_GET_ITEM(op, i) (((PyListObject *)(op))->ob_item[i])
62 #define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v))
63 #define PyList_GET_SIZE(op) Py_SIZE(op)
[all...]
H A Dweakrefobject.h45 #define PyWeakref_CheckRef(op) PyObject_TypeCheck(op, &_PyWeakref_RefType)
46 #define PyWeakref_CheckRefExact(op) \
47 (Py_TYPE(op) == &_PyWeakref_RefType)
48 #define PyWeakref_CheckProxy(op) \
49 ((Py_TYPE(op) == &_PyWeakref_ProxyType) || \
50 (Py_TYPE(op) == &_PyWeakref_CallableProxyType))
52 #define PyWeakref_Check(op) \
53 (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
[all...]
/external/python/cpython3/Include/
H A Ddatetime.h182 #define PyDate_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateType)
183 #define PyDate_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DateType)
185 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType)
186 #define PyDateTime_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DateTimeType)
188 #define PyTime_Check(op) PyObject_TypeCheck(op,
[all...]
H A Dtupleobject.h39 #define PyTuple_Check(op) \
40 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
41 #define PyTuple_CheckExact(op) (Py_TYPE(op) == &PyTuple_Type)
58 #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i])
59 #define PyTuple_GET_SIZE(op) Py_SIZE(op)
62 #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))
[all...]
H A Dweakrefobject.h47 #define PyWeakref_CheckRef(op) PyObject_TypeCheck(op, &_PyWeakref_RefType)
48 #define PyWeakref_CheckRefExact(op) \
49 (Py_TYPE(op) == &_PyWeakref_RefType)
50 #define PyWeakref_CheckProxy(op) \
51 ((Py_TYPE(op) == &_PyWeakref_ProxyType) || \
52 (Py_TYPE(op) == &_PyWeakref_CallableProxyType))
54 #define PyWeakref_Check(op) \
55 (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
[all...]
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
H A Dresolve_batch_to_space_nd_attributes.cc31 auto* op = static_cast<BatchToSpaceNDOperator*>(op_it->get());
35 if (!op->block_shape.empty()) {
39 CHECK_EQ(op->inputs.size(), 3);
40 if (!IsConstantParameterArray(*model, op->inputs[1]) ||
41 !IsConstantParameterArray(*model, op->inputs[2]))
45 const auto& crops_array = model->GetArray(op->inputs[2]);
50 // will delete this op.
56 op->before_crops.push_back(crops_buffer[i * 2]);
57 op->after_crops.push_back(crops_buffer[i * 2 + 1]);
61 const auto& block_shape_array = model->GetArray(op
[all...]
H A Dresolve_space_to_batch_nd_attributes.cc31 auto* op = static_cast<SpaceToBatchNDOperator*>(op_it->get());
35 if (!op->block_shape.empty()) {
42 CHECK_EQ(op->inputs.size(), 3);
43 if (!IsConstantParameterArray(*model, op->inputs[block_shape_index]) ||
44 !IsConstantParameterArray(*model, op->inputs[paddings_index]))
48 const auto& paddings_array = model->GetArray(op->inputs[paddings_index]);
53 // will delete this op.
59 op->before_paddings.push_back(paddings_buffer[i * 2]);
60 op->after_paddings.push_back(paddings_buffer[i * 2 + 1]);
65 model->GetArray(op
[all...]
H A Dresolve_constant_range.cc28 auto* op = static_cast<RangeOperator*>(base_op); local
30 CHECK_EQ(op->inputs.size(), 3);
31 const auto& start_array = model->GetArray(op->inputs[0]);
36 const auto& limit_array = model->GetArray(op->inputs[1]);
41 const auto& delta_array = model->GetArray(op->inputs[2]);
47 for (const auto& input : op->inputs) {
54 CHECK_EQ(op->outputs.size(), 1);
55 auto& output_array = model->GetArray(op->outputs[0]);
62 << "Range op inputs must be scalar.";
64 << "Range op input
[all...]
/external/strace/tests/
H A Dnlattr_inet_diag_req_v2.c89 static const struct inet_diag_bc_op op = { local
96 INET_DIAG_REQ_BYTECODE, pattern, op,
98 PRINT_FIELD_U(", ", op, yes);
99 PRINT_FIELD_U(", ", op, no);
112 static const struct inet_diag_bc_op op = { local
120 char buf[sizeof(op) + sizeof(cond)];
121 memcpy(buf, &op, sizeof(op));
124 sizeof(op) + DEFAULT_STRLEN : sizeof(buf) - 1;
125 memcpy(buf + sizeof(op),
162 static const struct inet_diag_bc_op op = { local
213 static const struct inet_diag_bc_op op = { local
263 static const struct inet_diag_bc_op op = { local
298 static const struct inet_diag_bc_op op[] = { local
345 static const struct inet_diag_bc_op op = { local
387 static const struct inet_diag_bc_op op = { local
[all...]
/external/strace/tests-m32/
H A Dnlattr_inet_diag_req_v2.c89 static const struct inet_diag_bc_op op = { local
96 INET_DIAG_REQ_BYTECODE, pattern, op,
98 PRINT_FIELD_U(", ", op, yes);
99 PRINT_FIELD_U(", ", op, no);
112 static const struct inet_diag_bc_op op = { local
120 char buf[sizeof(op) + sizeof(cond)];
121 memcpy(buf, &op, sizeof(op));
124 sizeof(op) + DEFAULT_STRLEN : sizeof(buf) - 1;
125 memcpy(buf + sizeof(op),
162 static const struct inet_diag_bc_op op = { local
213 static const struct inet_diag_bc_op op = { local
263 static const struct inet_diag_bc_op op = { local
298 static const struct inet_diag_bc_op op[] = { local
345 static const struct inet_diag_bc_op op = { local
387 static const struct inet_diag_bc_op op = { local
[all...]
/external/strace/tests-mx32/
H A Dnlattr_inet_diag_req_v2.c89 static const struct inet_diag_bc_op op = { local
96 INET_DIAG_REQ_BYTECODE, pattern, op,
98 PRINT_FIELD_U(", ", op, yes);
99 PRINT_FIELD_U(", ", op, no);
112 static const struct inet_diag_bc_op op = { local
120 char buf[sizeof(op) + sizeof(cond)];
121 memcpy(buf, &op, sizeof(op));
124 sizeof(op) + DEFAULT_STRLEN : sizeof(buf) - 1;
125 memcpy(buf + sizeof(op),
162 static const struct inet_diag_bc_op op = { local
213 static const struct inet_diag_bc_op op = { local
263 static const struct inet_diag_bc_op op = { local
298 static const struct inet_diag_bc_op op[] = { local
345 static const struct inet_diag_bc_op op = { local
387 static const struct inet_diag_bc_op op = { local
[all...]
/external/capstone/
H A DMCInst.h49 bool MCOperand_isValid(const MCOperand *op);
51 bool MCOperand_isReg(const MCOperand *op);
53 bool MCOperand_isImm(const MCOperand *op);
55 bool MCOperand_isFPImm(const MCOperand *op);
57 bool MCOperand_isInst(const MCOperand *op);
60 unsigned MCOperand_getReg(const MCOperand *op);
63 void MCOperand_setReg(MCOperand *op, unsigned Reg);
65 int64_t MCOperand_getImm(MCOperand *op);
67 void MCOperand_setImm(MCOperand *op, int64_t Val);
69 double MCOperand_getFPImm(const MCOperand *op);
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dhlo_element_type_converter_test.cc23 namespace op = xla::testing::opcode_matchers;
84 EXPECT_THAT(bf16_op, op::Convert(op::Add(op::Constant(), op::Convert())));
113 op::BatchNormGrad();
115 op::Tuple(op::Convert(op::GetTupleElement(batch_norm, 0)),
116 op
[all...]
/external/v8/src/parsing/
H A Dtoken.h228 static bool IsBinaryOp(Value op) { return COMMA <= op && op <= EXP; }
230 static bool IsTruncatingBinaryOp(Value op) {
231 return BIT_OR <= op && op <= ROR;
234 static bool IsCompareOp(Value op) {
235 return EQ <= op && op <= IN;
238 static bool IsOrderedRelationalCompareOp(Value op) {
[all...]
/external/ltp/testcases/lib/
H A Dtst_kvcmp.c25 enum op { enum
37 static enum op strtop(const char *op) argument
39 if (!strcmp(op, "-eq"))
42 if (!strcmp(op, "-ne"))
45 if (!strcmp(op, "-ge"))
48 if (!strcmp(op, "-gt"))
51 if (!strcmp(op, "-le"))
54 if (!strcmp(op, "-lt"))
57 if (!strcmp(op, "
137 enum op op = strtop(strop); local
[all...]
/external/skia/src/core/
H A DSkRasterClip.cpp17 static MutateResult mutate_conservative_op(SkRegion::Op* op, bool inverseFilled) { argument
19 switch (*op) {
32 *op = SkRegion::kReplace_Op;
38 switch (*op) {
48 // To reverse, we swap in the bounds with a replace op.
50 *op = SkRegion::kReplace_Op;
55 *op = SkRegion::kUnion_Op;
59 SkASSERT(false); // unknown op
64 const SkIRect& devBounds, SkRegion::Op op, bool doAA) {
66 switch (mutate_conservative_op(&op, fals
63 opRect(const SkRect& localRect, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
81 opRRect(const SkRRect& rrect, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
86 opPath(const SkPath& path, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
105 opRegion(const SkRegion& rgn, SkRegion::Op op) argument
109 opIRect(const SkIRect& devRect, SkRegion::Op op) argument
120 result.op(SkRegion(fBounds), SkRegion(devRect), op); local
214 SkRegion::Op op; local
243 op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
254 op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
305 op(const SkIRect& rect, SkRegion::Op op) argument
312 op(const SkRegion& rgn, SkRegion::Op op) argument
325 op(const SkRasterClip& clip, SkRegion::Op op) argument
362 op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
[all...]
/external/skqp/src/core/
H A DSkRasterClip.cpp17 static MutateResult mutate_conservative_op(SkRegion::Op* op, bool inverseFilled) { argument
19 switch (*op) {
32 *op = SkRegion::kReplace_Op;
38 switch (*op) {
48 // To reverse, we swap in the bounds with a replace op.
50 *op = SkRegion::kReplace_Op;
55 *op = SkRegion::kUnion_Op;
59 SkASSERT(false); // unknown op
64 const SkIRect& devBounds, SkRegion::Op op, bool doAA) {
66 switch (mutate_conservative_op(&op, fals
63 opRect(const SkRect& localRect, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
81 opRRect(const SkRRect& rrect, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
86 opPath(const SkPath& path, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
105 opRegion(const SkRegion& rgn, SkRegion::Op op) argument
109 opIRect(const SkIRect& devRect, SkRegion::Op op) argument
120 result.op(SkRegion(fBounds), SkRegion(devRect), op); local
214 SkRegion::Op op; local
243 op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
254 op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
305 op(const SkIRect& rect, SkRegion::Op op) argument
312 op(const SkRegion& rgn, SkRegion::Op op) argument
325 op(const SkRasterClip& clip, SkRegion::Op op) argument
362 op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument
[all...]

Completed in 2888 milliseconds

1234567891011>>