Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml/blob/master/src/ggml-openvino/openvino/op/sqr.cpp # ggml [Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685) Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `ggml / src / ggml-openvino / openvino / op / sqr.cpp` 35 lines ยท 883 bytes Raw Blame History 1 #include "../node_context.h" 2 #include "../op_table.h" 3 #include "../utils.h" 4 5 #include 6 #include 7 #include 8 9 namespace ov { 10 namespace frontend { 11 namespace ggml { 12 namespace op { 13 14 OutputVector translate_sqr(const NodeContext & context) { 15 num_inputs_check(context, 1, 1); 16 17 auto input = process_view_input_new(context, 0); 18 auto res = std::make_shared(input, input); 19 20 return rename_outputs_with_suffix({res}, context.get_name()); 21 } 22 23 OutputVector translate_sqrt(const NodeContext & context) { 24 num_inputs_check(context, 1, 1); 25 26 auto input = process_view_input_new(context, 0); 27 auto res = std::make_shared(input); 28 29 return rename_outputs_with_suffix({res}, context.get_name()); 30 } 31 32 } // namespace op 33 } // namespace ggml 34 } // namespace frontend 35 } // namespace ov