Home
last modified time | relevance | path

Searched refs:Operator (Results 1 – 25 of 537) sorted by relevance

12345678910>>...22

/external/tensorflow/tensorflow/lite/toco/
Dmodel.h376 struct Operator {
379 Operator() = delete;
383 Operator(const Operator&) = delete;
384 Operator(const Operator&&) = delete;
388 virtual ~Operator() {}
423 explicit Operator(OperatorType t)
474 struct ConvOperator : Operator {
475 ConvOperator() : Operator(OperatorType::kConv) {}
500 struct CTCBeamSearchDecoderOperator : Operator {
502 : Operator(OperatorType::kCTCBeamSearchDecoder) {}
[all …]
Dtooling_util.h54 std::string LogName(const Operator& op);
64 int CountTrueOutputs(const Model& model, const Operator& op);
71 void DeleteOpAndArrays(Model* model, const Operator* op);
73 std::vector<std::unique_ptr<Operator>>::const_iterator FindOpWithOutput(
75 Operator* GetOpWithOutput(const Model& model, const std::string& array_name);
77 std::vector<std::unique_ptr<Operator>>::iterator FindOpWithOutput(
80 std::vector<std::unique_ptr<Operator>>::const_iterator FindOpWithInput(
83 std::vector<std::unique_ptr<Operator>>::iterator FindOpWithInput(
86 Operator* GetOpWithInput(const Model& model, const std::string& array_name);
87 Operator* GetFirstOpWithInput(const Model& model,
[all …]
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions.h63 TfLiteStatus ParseOpData(const Operator* op, BuiltinOperator op_type,
72 TfLiteStatus ParseAbs(const Operator* op, ErrorReporter* error_reporter,
75 TfLiteStatus ParseAdd(const Operator* op, ErrorReporter* error_reporter,
78 TfLiteStatus ParseAddN(const Operator* op, ErrorReporter* error_reporter,
81 TfLiteStatus ParseArgMax(const Operator* op, ErrorReporter* error_reporter,
84 TfLiteStatus ParseArgMin(const Operator* op, ErrorReporter* error_reporter,
87 TfLiteStatus ParseBatchMatMul(const Operator* op, ErrorReporter* error_reporter,
91 TfLiteStatus ParseBatchToSpaceNd(const Operator* op,
96 TfLiteStatus ParseCeil(const Operator* op, ErrorReporter* error_reporter,
99 TfLiteStatus ParseCast(const Operator* op, ErrorReporter* error_reporter,
[all …]
Dflatbuffer_conversions.cc67 void CheckParsePointerParams(const Operator* op, ErrorReporter* error_reporter, in CheckParsePointerParams()
135 TfLiteStatus ParseOpDataTfLite(const Operator* op, BuiltinOperator op_type, in ParseOpDataTfLite()
898 TfLiteStatus ParseAbs(const Operator*, ErrorReporter*, BuiltinDataAllocator*, in ParseAbs() argument
903 TfLiteStatus ParseAdd(const Operator* op, ErrorReporter* error_reporter, in ParseAdd()
928 TfLiteStatus ParseAddN(const Operator* op, ErrorReporter* error_reporter, in ParseAddN()
933 TfLiteStatus ParseArgMax(const Operator* op, ErrorReporter* error_reporter, in ParseArgMax()
958 TfLiteStatus ParseArgMin(const Operator* op, ErrorReporter* error_reporter, in ParseArgMin()
986 TfLiteStatus ParseBatchMatMul(const Operator* op, ErrorReporter* error_reporter, in ParseBatchMatMul()
1007 TfLiteStatus ParseBatchToSpaceNd(const Operator*, ErrorReporter*, in ParseBatchToSpaceNd() argument
1015 TfLiteStatus ParseCast(const Operator* op, ErrorReporter* error_reporter, in ParseCast()
[all …]
/external/llvm-project/mlir/lib/TableGen/
DOperator.cpp37 Operator::Operator(const llvm::Record &def) in Operator() function in Operator
56 std::string Operator::getOperationName() const { in getOperationName()
64 std::string Operator::getAdaptorName() const { in getAdaptorName()
68 StringRef Operator::getDialectName() const { return dialect.getName(); } in getDialectName()
70 StringRef Operator::getCppClassName() const { return cppClassName; } in getCppClassName()
72 std::string Operator::getQualCppClassName() const { in getQualCppClassName()
79 int Operator::getNumResults() const { in getNumResults()
84 StringRef Operator::getExtraClassDeclaration() const { in getExtraClassDeclaration()
91 const llvm::Record &Operator::getDef() const { return def; } in getDef()
93 bool Operator::skipDefaultBuilders() const { in skipDefaultBuilders()
[all …]
/external/deqp/modules/gles2/scripts/
Dgen-reserved_operators.py68 class Operator(): class
76 Operator("%", "modulo"),
77 Operator("~", "bitwise_not"),
78 Operator("<<", "bitwise_shift_left"),
79 Operator(">>", "bitwise_shift_right"),
80 Operator("&", "bitwise_and"),
81 Operator("^", "bitwise_xor"),
82 Operator("|", "bitwise_or"),
83 Operator("%=", "assign_modulo"),
84 Operator("<<=", "assign_shift_left"),
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
DBinaryExpr.java48 public enum Operator implements Printable { enum in BinaryExpr
72 Operator(String codeRepresentation) { in Operator() method in BinaryExpr.Operator
80 public Optional<AssignExpr.Operator> toAssignOperator() { in toAssignOperator()
83 return Optional.of(AssignExpr.Operator.BINARY_OR); in toAssignOperator()
85 return Optional.of(AssignExpr.Operator.BINARY_AND); in toAssignOperator()
87 return Optional.of(AssignExpr.Operator.XOR); in toAssignOperator()
89 return Optional.of(AssignExpr.Operator.LEFT_SHIFT); in toAssignOperator()
91 return Optional.of(AssignExpr.Operator.SIGNED_RIGHT_SHIFT); in toAssignOperator()
93 return Optional.of(AssignExpr.Operator.UNSIGNED_RIGHT_SHIFT); in toAssignOperator()
95 return Optional.of(AssignExpr.Operator.PLUS); in toAssignOperator()
[all …]
DAssignExpr.java50 public enum Operator implements Printable { enum in AssignExpr
67 Operator(String codeRepresentation) { in Operator() method in AssignExpr.Operator
75 public Optional<BinaryExpr.Operator> toBinaryOperator() { in toBinaryOperator()
78 return Optional.of(BinaryExpr.Operator.PLUS); in toBinaryOperator()
80 return Optional.of(BinaryExpr.Operator.MINUS); in toBinaryOperator()
82 return Optional.of(BinaryExpr.Operator.MULTIPLY); in toBinaryOperator()
84 return Optional.of(BinaryExpr.Operator.DIVIDE); in toBinaryOperator()
86 return Optional.of(BinaryExpr.Operator.BINARY_AND); in toBinaryOperator()
88 return Optional.of(BinaryExpr.Operator.BINARY_OR); in toBinaryOperator()
90 return Optional.of(BinaryExpr.Operator.XOR); in toBinaryOperator()
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-lift.hpp50 template<class ResultType, class SourceOperator, class Operator>
55 typedef rxu::decay_t<Operator> operator_type;
60 template<class ResultType, class SourceOperator, class Operator>
61 …: public operator_base<typename lift_traits<ResultType, SourceOperator, Operator>::result_value_ty…
63 typedef lift_traits<ResultType, SourceOperator, Operator> traits;
83 template<class ResultType, class Operator>
86 typedef rxu::decay_t<Operator> operator_type;
94 …ift_function_for<rxu::value_type_t<Observable>, subscriber<ResultType>, Operator>::value, "Functio… in operator ()()
100 template<class ResultType, class Operator>
101 auto lift(Operator&& op) in lift()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dgroup_bidirectional_sequence_ops.cc30 std::vector<std::unique_ptr<Operator>>::iterator FindOperator( in FindOperator()
31 Model* model, const Operator& op) { in FindOperator()
34 [&op](const std::unique_ptr<Operator>& ptr) { return ptr.get() == &op; }); in FindOperator()
37 bool MatchTwoUnpackOps(const Operator& op, const Model& model, in MatchTwoUnpackOps()
38 Operator** fw_output, Operator** bw_output) { in MatchTwoUnpackOps()
59 bool MatchDynamicBidirectionalSequenceOutputs(Operator* op, const Model& model, in MatchDynamicBidirectionalSequenceOutputs()
60 Operator** fw_output, in MatchDynamicBidirectionalSequenceOutputs()
61 Operator** bw_output) { in MatchDynamicBidirectionalSequenceOutputs()
83 bool FindUnidirectionalSequenceOp(const Model& model, const Operator& output_op, in FindUnidirectionalSequenceOp()
85 std::stack<Operator*>* sequence_ops, in FindUnidirectionalSequenceOp()
[all …]
Didentify_lstm.cc27 std::vector<std::unique_ptr<Operator>>::iterator FindOperator( in FindOperator()
28 Model* model, const Operator& op) { in FindOperator()
39 OperatorType op_type, Operator** source_op) { in ValidateSourceOp()
62 bool MatchOperatorInputs(const Operator& op, const Model& model, in MatchOperatorInputs()
63 OperatorType op_type, Operator** connected_op) { in MatchOperatorInputs()
81 bool MatchOperatorInputs(const Operator& op, const Model& model, in MatchOperatorInputs()
82 OperatorType a_op_type, Operator** a_op, in MatchOperatorInputs()
83 OperatorType b_op_type, Operator** b_op) { in MatchOperatorInputs()
106 bool MatchOperatorInputs(const Operator& op, const Model& model, in MatchOperatorInputs()
107 OperatorType a_op_type, Operator** a_op, in MatchOperatorInputs()
[all …]
/external/llvm-project/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp21 struct Operator;
87 Operator *Op; // The Operation used to generate this value.
100 static std::vector<Operator*> TheOperators;
103 struct Operator { struct
109 Operator(unsigned short shufflemask, const char *name, unsigned opnum, in Operator() argument
114 ~Operator() { in ~Operator() argument
303 Operator *Op = TheOperators[opnum]; in main()
468 struct vmrghw : public Operator {
469 vmrghw() : Operator(0x0415, "vmrghw", OP_VMRGHW) {} in vmrghw()
472 struct vmrglw : public Operator {
[all …]
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp22 struct Operator;
88 Operator *Op; // The Operation used to generate this value.
101 static std::vector<Operator*> TheOperators;
104 struct Operator { struct
110 Operator(unsigned short shufflemask, const char *name, unsigned opnum, in Operator() argument
115 ~Operator() { in ~Operator() argument
304 Operator *Op = TheOperators[opnum]; in main()
469 struct vmrghw : public Operator {
470 vmrghw() : Operator(0x0415, "vmrghw", OP_VMRGHW) {} in vmrghw()
473 struct vmrglw : public Operator {
[all …]
/external/skia/src/sksl/
DSkSLOperators.cpp16 Operator::Precedence Operator::getBinaryPrecedence() const { in getBinaryPrecedence()
53 bool Operator::isOperator() const { in isOperator()
96 const char* Operator::operatorName() const { in operatorName()
138 bool Operator::isAssignment() const { in isAssignment()
157 Operator Operator::removeAssignment() const { in removeAssignment()
159 case Kind::TK_PLUSEQ: return Operator{Kind::TK_PLUS}; in removeAssignment()
160 case Kind::TK_MINUSEQ: return Operator{Kind::TK_MINUS}; in removeAssignment()
161 case Kind::TK_STAREQ: return Operator{Kind::TK_STAR}; in removeAssignment()
162 case Kind::TK_SLASHEQ: return Operator{Kind::TK_SLASH}; in removeAssignment()
163 case Kind::TK_PERCENTEQ: return Operator{Kind::TK_PERCENT}; in removeAssignment()
[all …]
/external/skia/modules/svg/src/
DSkSVGFeMorphology.cpp17 this->setOperator(SkSVGAttributeParser::parse<SkSVGFeMorphology::Operator>( in parseAndSetAttribute()
32 case Operator::kErode: in onMakeImageFilter()
34 case Operator::kDilate: in onMakeImageFilter()
42 bool SkSVGAttributeParser::parse<SkSVGFeMorphology::Operator>(SkSVGFeMorphology::Operator* op) { in parse()
43 static constexpr std::tuple<const char*, SkSVGFeMorphology::Operator> gMap[] = { in parse()
44 { "dilate", SkSVGFeMorphology::Operator::kDilate }, in parse()
45 { "erode" , SkSVGFeMorphology::Operator::kErode }, in parse()
/external/llvm-project/mlir/include/mlir/Dialect/Tosa/IR/
DTosaOps.td27 // Operator Class: Tensor Data Engine Operators.
31 // Operator: argmax
52 // Operator: avg_pool2d
80 // Operator: conv2d
83 let summary = "2D Convolution Operator";
111 // Operator: conv3d
141 // Operator: depthwise_conv2d
172 // Operator: fully_connected
198 // Operator: matmul
223 // Operator: max_pool2d
[all …]
/external/llvm-project/mlir/include/mlir/TableGen/
DPattern.h42 DenseMap<const llvm::Record *, std::unique_ptr<Operator>>;
145 Operator &getDialectOp(RecordOperatorMap *mapper) const;
249 SymbolInfo(const Operator *op, Kind kind, Optional<int> index);
252 static SymbolInfo getAttr(const Operator *op, int index) { in getAttr()
258 static SymbolInfo getOperand(const Operator *op, int index) { in getOperand()
261 static SymbolInfo getResult(const Operator *op) { in getResult()
292 const Operator *op; // The op where the bound entity belongs
315 bool bindOpArgument(StringRef symbol, const Operator &op, int argIndex);
319 bool bindOpResult(StringRef symbol, const Operator &op);
337 const_iterator findBoundSymbol(StringRef key, const Operator &op,
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Didentify_l2_normalization_test.cc69 model.operators.push_back(std::unique_ptr<Operator>(div_op)); in RunIdentifyL2Normalization()
70 model.operators.push_back(std::unique_ptr<Operator>(sqrt_op)); in RunIdentifyL2Normalization()
71 model.operators.push_back(std::unique_ptr<Operator>(sum_op)); in RunIdentifyL2Normalization()
72 model.operators.push_back(std::unique_ptr<Operator>(sq_op)); in RunIdentifyL2Normalization()
89 model.operators.push_back(std::unique_ptr<Operator>(mul_op)); in RunIdentifyL2Normalization()
90 model.operators.push_back(std::unique_ptr<Operator>(rsqrt_op)); in RunIdentifyL2Normalization()
91 model.operators.push_back(std::unique_ptr<Operator>(sum_op)); in RunIdentifyL2Normalization()
92 model.operators.push_back(std::unique_ptr<Operator>(sq_op)); in RunIdentifyL2Normalization()
98 Operator* op = op_it.get(); in RunIdentifyL2Normalization()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpPythonBindingGen.cpp268 const Operator &op, raw_ostream &os, const char *kind, in emitElementAccessors()
269 llvm::function_ref<unsigned(const Operator &)> getNumVariadic, in emitElementAccessors()
270 llvm::function_ref<int(const Operator &)> getNumElements, in emitElementAccessors()
271 llvm::function_ref<const NamedTypeConstraint &(const Operator &, int)> in emitElementAccessors() argument
361 static int getNumOperands(const Operator &op) { return op.getNumOperands(); } in getNumOperands()
362 static const NamedTypeConstraint &getOperand(const Operator &op, int i) { in getOperand()
365 static int getNumResults(const Operator &op) { return op.getNumResults(); } in getNumResults()
366 static const NamedTypeConstraint &getResult(const Operator &op, int i) { in getResult()
371 static void emitOperandAccessors(const Operator &op, raw_ostream &os) { in emitOperandAccessors()
372 auto getNumVariadic = [](const Operator &oper) { in emitOperandAccessors()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/expr/
DUnaryExpr.java33 public enum Operator { enum in UnaryExpr
46 private Operator op;
51 public UnaryExpr(final Expression expr, final Operator op) { in UnaryExpr()
56 public UnaryExpr(final Range range, final Expression expr, final Operator op) { in UnaryExpr()
74 public Operator getOperator() { in getOperator()
84 public UnaryExpr setOperator(final Operator op) { in setOperator()
DBinaryExpr.java33 public enum Operator { enum in BinaryExpr
59 private Operator op;
64 public BinaryExpr(Expression left, Expression right, Operator op) { in BinaryExpr()
70 public BinaryExpr(Range range, Expression left, Expression right, Operator op) { in BinaryExpr()
91 public Operator getOperator() { in getOperator()
105 public BinaryExpr setOperator(Operator op) { in setOperator()
DAssignExpr.java33 public enum Operator { enum in AssignExpr
52 private Operator op;
57 public AssignExpr(Expression target, Expression value, Operator op) { in AssignExpr()
63 public AssignExpr(Range range, Expression target, Expression value, Operator op) { in AssignExpr()
80 public Operator getOperator() { in getOperator()
92 public AssignExpr setOperator(Operator op) { in setOperator()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
DUnaryExpr.java32 public static enum Operator { enum in UnaryExpr
45 private Operator op;
50 public UnaryExpr(final Expression expr, final Operator op) { in UnaryExpr()
56 final Expression expr, final Operator op) { in UnaryExpr()
74 public Operator getOperator() { in getOperator()
83 public void setOperator(final Operator op) { in setOperator()
DAssignExpr.java32 public static enum Operator { enum in AssignExpr
51 private Operator op;
56 public AssignExpr(Expression target, Expression value, Operator op) { in AssignExpr()
62 …e, int beginColumn, int endLine, int endColumn, Expression target, Expression value, Operator op) { in AssignExpr()
79 public Operator getOperator() { in getOperator()
91 public void setOperator(Operator op) { in setOperator()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsScanHelpers.hpp33 enum Operator enum
51 std::string getScanOpName(std::string prefix, std::string suffix, Operator op, ScanType scanType);
52 std::string getOpOperation(Operator op, vk::VkFormat format, std::string lhs, std::string rhs);
53 std::string getIdentity(Operator op, vk::VkFormat format);
54 std::string getCompare(Operator op, vk::VkFormat format, std::string lhs, std::string rhs);

12345678910>>...22