MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 15 callersFunctionSetAllFields
We selectively set/check a few representative fields rather than all fields as this test is only expected to cover the basics of arena support.
deps/protobuf/src/google/protobuf/proto3_arena_unittest.cc:69
↓ 15 callersMethodSetInt32
deps/protobuf/src/google/protobuf/descriptor.cc:7759
↓ 15 callersFunctionSize
mlmodel/src/MILBlob/Util/Span.hpp:493
↓ 15 callersFunctionSubstituteAndAppend
deps/protobuf/src/google/protobuf/stubs/substitute.cc:67
↓ 15 callersMethodTokenizer
deps/protobuf/src/google/protobuf/io/tokenizer.cc:195
↓ 15 callersMethodValue
(string value)
deps/protobuf/csharp/src/Google.Protobuf/JsonToken.cs:63
↓ 15 callersFunction_add_elementwise_binary
( const_context, builder, op, mode, output_name=None, **kwargs )
coremltools/converters/mil/backend/nn/op_mapping.py:696
↓ 15 callersMethod_get_mil_internal
Get a deep copy of the MIL program object, if available. It's available whenever an MLModel object is constructed using the u
coremltools/models/model.py:992
↓ 15 callersFunction_transpose_NCHW_to_NHWC
(x, node_name)
coremltools/converters/mil/frontend/tensorflow/ops.py:53
↓ 15 callersFunction_transpose_NHWC_to_NCHW
(x)
coremltools/converters/mil/frontend/tensorflow/ops.py:49
↓ 15 callersMethodadd_function
Insert a ``src_function_name`` function from ``model_path`` as the ``target_function_name`` function in the multifunction descriptor.
coremltools/models/utils.py:1505
↓ 15 callersFunctionassert_same_output_names
(prog1, prog2, func_name="main")
coremltools/converters/mil/testing_utils.py:252
↓ 15 callersFunctionassert_spec_input_image_type
(spec, expected_feature_type)
coremltools/converters/mil/testing_utils.py:839
↓ 15 callersMethodbegin
deps/pybind11/include/pybind11/pytypes.h:2486
↓ 15 callersFunctionbuildBasicUpdatableNeuralNetworkModel
mlmodel/tests/ModelCreationUtils.cpp:14
↓ 15 callersFunctionconstruct_inputs_from_placeholders
Construct the `inputs` param from placeholders with upper_bound.
coremltools/converters/mil/mil/ops/tests/testing_utils.py:221
↓ 15 callersMethodcreate_base_builder
(self, is_updatable=True)
coremltools/test/pipeline/test_model_updatable.py:44
↓ 15 callersMethodcreate_builder
(self, default_class_label="default_label")
coremltools/test/sklearn_tests/test_nearest_neighbors_builder.py:37
↓ 15 callersMethoddecodeZigZag32
Decode a ZigZag-encoded 32-bit value. ZigZag encodes signed integers into values that can be efficiently encoded with varint. (Otherwise, negative val
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:534
↓ 15 callersMethoddecodeZigZag64
Decode a ZigZag-encoded 64-bit value. ZigZag encodes signed integers into values that can be efficiently encoded with varint. (Otherwise, negative val
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:547
↓ 15 callersMethoddecompress
( params: Union["optimize_utils.SparseParamsIos16", "optimize_utils.SparseParams"] )
coremltools/optimize/coreml/_quantization_passes.py:443
↓ 15 callersMethodemplace
deps/nlohmann/json.hpp:16706
↓ 15 callersFunctionend
! @brief returns an iterator to one past the last element Returns an iterator to one past the last element. @image html range-begin-end.
deps/nlohmann/json.hpp:21426
↓ 15 callersMethodensureMutable
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MutabilityOracle.java:37
↓ 15 callersMethodfindValueByNumberCreatingIfUnknown
Get the enum value for a number. If no enum value has this number, construct an EnumValueDescriptor for it.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1832
↓ 15 callersMethodfind_first_of
deps/protobuf/src/google/protobuf/stubs/stringpiece.cc:148
↓ 15 callersMethodfromByteArray
Deserializes a message from the given byte array.
deps/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java:75
↓ 15 callersMethodfromString
Parses from a string to a FieldMask.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java:86
↓ 15 callersMethodgetFieldByNumber
($number)
deps/protobuf/php/src/Google/Protobuf/Internal/Descriptor.php:109
↓ 15 callersMethodgetMessageDefaultInstance
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java:97
↓ 15 callersMethodgetTotalBytesWritten
Gets the total number of bytes that have been written. This will not be reset by a call to {@link #complete()}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:858
↓ 15 callersMethodgetVarintList
Get the list of varint values for this field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:733
↓ 15 callersMethodisMapField
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1162
↓ 15 callersMethodkey
deps/nlohmann/json.hpp:6176
↓ 15 callersMethodof
Returns a Value object with number set to value.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Values.java:49
↓ 15 callersMethodparseFailure
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java:159
↓ 15 callersMethodreadFixed64
Reads and returns the next field of type {@code FIXED64} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:109
↓ 15 callersMethodresolve
(ThreadContext context, IRubyObject recv, IRubyObject name)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyEnum.java:61
↓ 15 callersFunctionsave_spec
Save a protobuf model specification to file. Parameters ---------- spec: Model_pb Protobuf representation of the model.
coremltools/models/utils.py:162
↓ 15 callersMethodscope
The ``mb.scope`` creates a context manager, which makes the operations created within it have the corresponding scope information. P
coremltools/converters/mil/mil/builder.py:383
↓ 15 callersMethodsetValue
* Must be a valid serialized protocol buffer of the above specified type. * * Generated from protobuf field <code>bytes value = 2;</code>
deps/protobuf/php/src/Google/Protobuf/Any.php:245
↓ 15 callersMethodstoreField
(int tag, Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java:389
↓ 15 callersMethodstream
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedOutputStreamTest.java:55
↓ 15 callersMethodtoArray
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java:507
↓ 15 callersMethodupdateChannelRange
mlmodel/src/LayerShapeConstraints.cpp:745
↓ 15 callersFunctionvalidateDescriptionsContainFeatureWithTypes
mlmodel/src/Validation/ValidatorUtils-inl.hpp:138
↓ 15 callersFunctionwith_internals
deps/pybind11/include/pybind11/detail/internals.h:623
↓ 15 callersFunctionwrite
deps/protobuf/src/google/protobuf/io/io_win32.cc:355
↓ 14 callersMethodAdd
deps/protobuf/src/google/protobuf/compiler/parser.cc:2426
↓ 14 callersMethodCheckValue
Type check the provided value and return it. The returned value might have been normalized to another type.
deps/protobuf/python/google/protobuf/internal/type_checkers.py:118
↓ 14 callersMethodClear
deps/protobuf/src/google/protobuf/compiler/parser.cc:2441
↓ 14 callersMethodForDouble
<summary> Retrieves a codec suitable for a double field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the giv
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:194
↓ 14 callersMethodForSFixed64
<summary> Retrieves a codec suitable for an sfixed64 field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:164
↓ 14 callersMethodForSInt64
<summary> Retrieves a codec suitable for an sint64 field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the gi
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:144
↓ 14 callersMethodForUInt32
<summary> Retrieves a codec suitable for a uint32 field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the giv
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:124
↓ 14 callersFunctionGeneratedCodeVersionSuffix
deps/protobuf/src/google/protobuf/compiler/java/java_helpers.h:425
↓ 14 callersFunctionGetClassName
deps/protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc:358
↓ 14 callersFunctionInsertIfNotPresent
deps/protobuf/src/google/protobuf/stubs/map_util.h:321
↓ 14 callersFunctionIsDefault
deps/protobuf/src/google/protobuf/arenastring.h:314
↓ 14 callersMethodMergeFrom
deps/protobuf/src/google/protobuf/api.pb.cc:535
↓ 14 callersFunctionPyFieldDescriptor_FromDescriptor
deps/protobuf/python/google/protobuf/pyext/descriptor.cc:1032
↓ 14 callersMethodReadString
deps/protobuf/src/google/protobuf/wire_format_lite.h:882
↓ 14 callersMethodRelease
deps/protobuf/src/google/protobuf/arenastring.cc:162
↓ 14 callersFunctionSimpleDtoa
deps/protobuf/src/google/protobuf/stubs/strutil.cc:1199
↓ 14 callersMethodTestEmptyMessage
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:10721
↓ 14 callersFunctionTestTempDir
deps/protobuf/src/google/protobuf/testing/googletest.cc:189
↓ 14 callersMethodToByteString
<summary> Converts the given message into a byte string in protobuf encoding. </summary> <param name="message">The message to convert.</param> <return
deps/protobuf/csharp/src/Google.Protobuf/MessageExtensions.cs:152
↓ 14 callersFunctionWritePropertyDocComment
deps/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc:98
↓ 14 callersMethodWriteTo
(pb::CodedOutputStream output)
deps/protobuf/csharp/src/AddressBook/Addressbook.cs:206
↓ 14 callersMethod__init__
(self, i, j)
deps/pybind11/tests/test_multiple_inheritance.py:59
↓ 14 callersMethod_test_elementwise_binary
Helper function, runs op on test input and compares against expected result
coremltools/converters/mil/frontend/torch/test/test_internal_graph.py:119
↓ 14 callersFunctionabs
(const_context, builder, op)
coremltools/converters/mil/backend/nn/op_mapping.py:883
↓ 14 callersMethodadd_squeeze
Add a squeeze layer to the model that decrease the rank of the input tensor by removing unit dimensions. Refer to the ``Squee
coremltools/models/neural_network/builder.py:7476
↓ 14 callersFunctionevaluate_regressor
Evaluate a Core ML regression model and compare against predictions from the original framework (for testing correctness of conversion).
coremltools/models/utils.py:389
↓ 14 callersMethodfindValueByNumber
(int number)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:211
↓ 14 callersMethodgetArrayEntryAt
@return The array entry at the given {@code index}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:183
↓ 14 callersMethodgetDefaultInstanceForType
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageOrBuilder.java:45
↓ 14 callersMethodgetGetter
()
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptor.php:102
↓ 14 callersMethodgetType
Get the field's declared type.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1137
↓ 14 callersMethodimag
(self)
coremltools/converters/mil/mil/var.py:463
↓ 14 callersMethodinputs
(self)
coremltools/converters/mil/mil/block.py:329
↓ 14 callersMethodisArrayRange
(byte[] left, byte[] right, int rightOffset, int length)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ByteStringTest.java:81
↓ 14 callersFunctionis_large
deps/protobuf/src/google/protobuf/extension_set.h:738
↓ 14 callersFunctionprint_default_created
deps/pybind11/tests/constructor_stats.h:304
↓ 14 callersMethodputAll
(Map<? extends K, ? extends V> m)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapFieldLite.java:105
↓ 14 callersMethodputObject
(Object target, long offset, Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:171
↓ 14 callersMethodreadDouble
Reads and returns the next field of type {@code DOUBLE} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:79
↓ 14 callersMethodreadFloat
Reads and returns the next field of type {@code FLOAT} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:85
↓ 14 callersMethodreadRawVarint32
Read a raw Varint from the stream. If larger than 32 bits, discard the upper bits.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:363
↓ 14 callersMethodremove
Removes an item from the list. Similar to list.remove().
deps/protobuf/python/google/protobuf/internal/containers.py:155
↓ 14 callersMethodsetAllFields
Set every field of {@code message} to the values expected by {@code assertAllFieldsSet()}.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:323
↓ 14 callersMethodsetAllFieldsViaReflection
Set every field of {@code message} to the values expected by {@code assertAllFieldsSet()}, using the {@link Message.Builder} reflection interface.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:2814
↓ 14 callersMethodsetChannel
mlmodel/src/LayerShapeConstraints.cpp:866
↓ 14 callersMethodsetLabel
($label)
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptor.php:117
↓ 14 callersMethodsetMapValues
(TestMap.Builder builder)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapForProto2LiteTest.java:56
↓ 14 callersMethodsetMapValues
(TestMap.Builder builder)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapLiteTest.java:53
↓ 14 callersMethodtoStringUtf8
Helper method to convert a byte array to a string using UTF-8 encoding.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:190
↓ 14 callersFunctiontype_name
! @brief return the type as string Returns the type name as string to be used in error messages - usually to indicate that a function was
deps/nlohmann/json.hpp:23808
↓ 14 callersFunctionupb_strtable_lookup2
deps/protobuf/php/ext/google/protobuf/php-upb.c:2332
↓ 14 callersFunctionupb_strtable_lookup2
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2332
← previousnext →901–1,000 of 41,379, ranked by callers