Home
last modified time | relevance | path

Searched refs:unary_op (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_unary.cc120 const auto* unary_op = unary_it->get(); in Run() local
122 switch (unary_op->type) { in Run()
143 if (!IsConstantParameterArray(*model, unary_op->inputs[0])) { in Run()
149 if (unary_op->inputs[0] == rnn_state.back_edge_source_array()) { in Run()
152 if (unary_op->inputs[0] == rnn_state.state_array()) { in Run()
157 auto& output_array = model->GetArray(unary_op->outputs[0]); in Run()
166 if (unary_op->fused_activation_function != in Run()
171 LogName(*unary_op)); in Run()
177 if (unary_op->type == OperatorType::kReshape) { in Run()
178 CopyMinMaxFromFirstInput(*unary_op, model); in Run()
[all …]
/external/squashfs-tools/squashfs-tools/
Daction.h107 struct unary_op { struct
118 struct unary_op unary_op; argument
Daction.c218 free_parse_tree(expr->unary_op.expr); in free_parse_tree()
262 expr->unary_op.expr = lhs; in create_unary_op()
263 expr->unary_op.op = op; in create_unary_op()
712 match = !eval_expr_log(expr->unary_op.expr, action_data); in eval_expr_log()
740 match = !eval_expr(expr->unary_op.expr, action_data); in eval_expr()
3156 printf("%s", token_table[expr->unary_op.op].string); in dump_parse_tree()
3157 dump_parse_tree(expr->unary_op.expr); in dump_parse_tree()
/external/gemmlowp/test/
Dtest_fixedpoint.cc256 void TestUnaryOp(const tUnaryOpType& unary_op, in TestUnaryOp() argument
265 input[j] = std::min(unary_op.MaxInput(), in TestUnaryOp()
266 std::max(unary_op.MinInput(), raw_input)); in TestUnaryOp()
273 reference[j] = unary_op.ReferenceOp(input[j]); in TestUnaryOp()
274 actual_scalar[j] = unary_op.Op(input[j]); in TestUnaryOp()
277 Check(std::abs(diff) <= unary_op.Tolerance()); in TestUnaryOp()
285 StoreSimdVector(actual_simd, unary_op.Op(LoadSimdVector(input))); in TestUnaryOp()
/external/tensorflow/tensorflow/core/grappler/inputs/
Dtrivial_test_graph_input_yielder.cc50 Output unary_op = Square( in CreateGraphDef() local
55 this_stage.push_back(unary_op); in CreateGraphDef()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.h310 const std::function<ReturnT(NativeT)>& unary_op, in ElementWiseUnaryOpImpl() argument
319 return unary_op(operand_literal.Get<NativeT>(multi_index)); in ElementWiseUnaryOpImpl()
Dhlo_evaluator_typed_visitor.h124 const std::function<ElementwiseT(ElementwiseT)>& unary_op) { in ConvertUnaryFunction() argument
125 return [&unary_op](ReturnT arg) { in ConvertUnaryFunction()
126 return static_cast<ReturnT>(unary_op(static_cast<ElementwiseT>(arg))); in ConvertUnaryFunction()
2932 const std::function<ElementwiseT(ElementwiseT)>& unary_op) { in ElementWiseUnaryOp() argument
2938 instruction, ConvertUnaryFunction(unary_op), operand_literal))); in ElementWiseUnaryOp()
/external/libcxx/include/
Dnumeric64 BinaryOperation binary_op, UnaryOperation unary_op); // C++17
103 BinaryOperation binary_op, UnaryOperation unary_op); // C++17
110 BinaryOperation binary_op, UnaryOperation unary_op); // C++17
117 BinaryOperation binary_op, UnaryOperation unary_op,
/external/tensorflow/tensorflow/python/distribute/
Dcross_device_utils.py332 unary_op='Id'): argument
368 unary_op, subdiv_offsets)
/external/tensorflow/tensorflow/python/ops/
Dsparse_ops.py2737 for unary_op in _UNARY_OPS:
2738 _UnaryMapValueDispatcher(unary_op).register(unary_op)
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.cc1542 TRT_ShapedWeights* oweights, LambdaFactory unary_op) { in UnaryCompute() argument
1548 std::transform(inp, inp + iweights.count(), oup, unary_op.unary<float>()); in UnaryCompute()
1556 unary_op.unary<Eigen::half>()); in UnaryCompute()
1694 LambdaFactory unary_op; in BinaryTensorOpWeight() local
1695 unary_op.op = LambdaFactory::OP_CATEGORY::NEG; in BinaryTensorOpWeight()
1696 TF_RETURN_IF_ERROR(UnaryCompute(weights, &neg_weights, unary_op)); in BinaryTensorOpWeight()
1729 LambdaFactory unary_op; in BinaryTensorOpWeight() local
1730 unary_op.op = LambdaFactory::OP_CATEGORY::RECIP; in BinaryTensorOpWeight()
1731 TF_RETURN_IF_ERROR(UnaryCompute(weights, &recip_weights, unary_op)); in BinaryTensorOpWeight()
/external/python/cpython3/Python/
Dast_opt.c117 typedef PyObject *(*unary_op)(PyObject*); in fold_unaryop() typedef
118 static const unary_op ops[] = { in fold_unaryop()
/external/swiftshader/third_party/subzero/docs/
DDESIGN.rst637 A = unary_op(B)
642 A = unary_op(T.inf)
/external/swiftshader/third_party/subzero/
DDESIGN.rst637 A = unary_op(B)
642 A = unary_op(T.inf)