Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ functions
Functions
41,379 in github.com/apple/coremltools
⨍
Functions
41,379
◇
Types & classes
6,698
↳
Endpoints
1,092
↓ 7 callers
Function
load
deps/pybind11/include/pybind11/stl.h:241
↓ 7 callers
Function
map_model_structure_to_path
( model_structure: MLModelStructure, components: _List[ModelStructurePath.Component] = [], )
coremltools/models/ml_program/experimental/model_structure_path.py:289
↓ 7 callers
Method
mergeField
Add a field to the {@code UnknownFieldSet}. If a field with the same number already exists, the two are merged.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:439
↓ 7 callers
Method
mergeFrom
Merge {@code other} into the message being built. {@code other} must have the exact same type as {@code this} (i.e. {@code getDescriptorForType() == o
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:127
↓ 7 callers
Method
message_type_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:8833
↓ 7 callers
Method
mutable_name
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1468
↓ 7 callers
Method
name
deps/pybind11/tests/test_class.cpp:97
↓ 7 callers
Method
newImmutableBooleanArrayList
(boolean... elements)
deps/protobuf/java/core/src/test/java/com/google/protobuf/BooleanArrayListTest.java:578
↓ 7 callers
Method
newImmutableDoubleArrayList
(double... elements)
deps/protobuf/java/core/src/test/java/com/google/protobuf/DoubleArrayListTest.java:578
↓ 7 callers
Method
newImmutableFloatArrayList
(float... elements)
deps/protobuf/java/core/src/test/java/com/google/protobuf/FloatArrayListTest.java:578
↓ 7 callers
Method
newImmutableIntArrayList
(int... elements)
deps/protobuf/java/core/src/test/java/com/google/protobuf/IntArrayListTest.java:576
↓ 7 callers
Method
newImmutableLongArrayList
(long... elements)
deps/protobuf/java/core/src/test/java/com/google/protobuf/LongArrayListTest.java:576
↓ 7 callers
Method
newUninitializedMessageException
Construct an UninitializedMessageException reporting missing fields in the given message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractMessage.java:475
↓ 7 callers
Method
normalizedTimestamp
(long seconds, int nanos)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Timestamps.java:431
↓ 7 callers
Method
number_float
deps/nlohmann/json.hpp:6156
↓ 7 callers
Method
number_integer
deps/nlohmann/json.hpp:6146
↓ 7 callers
Method
onChanged
Called when a the builder or one of its nested children has changed and any parent should be notified of its invalidation.
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:534
↓ 7 callers
Method
onChanged
Called when a the builder or one of its nested children has changed and any parent should be notified of its invalidation.
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java:534
↓ 7 callers
Method
operator[]
access to successor
deps/nlohmann/json.hpp:11837
↓ 7 callers
Method
pack
(msg, type_url_prefix='type.googleapis.com/')
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:42
↓ 7 callers
Function
palettize_weights
(mlmodel, nbits=None, mode="kmeans", lut_function=None)
coremltools/test/optimize/coreml/test_post_training_quantization.py:42
↓ 7 callers
Method
paths_size
deps/protobuf/src/google/protobuf/field_mask.pb.h:242
↓ 7 callers
Function
prune_weights
( mlmodel, mode="threshold_based", threshold=1e-3, target_sparsity=1.0,
coremltools/test/optimize/coreml/test_post_training_quantization.py:47
↓ 7 callers
Function
raise_from
Replaces the current Python error indicator with the chosen error, performing a 'raise from' to indicate that the chosen error was caused by the origi
deps/pybind11/include/pybind11/pytypes.h:797
↓ 7 callers
Method
rbegin
deps/protobuf/src/google/protobuf/repeated_ptr_field.h:615
↓ 7 callers
Method
readOneof
($number)
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:216
↓ 7 callers
Method
readRaw
($size, &$buffer)
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:295
↓ 7 callers
Method
readSfixed32
(&$input, &$value)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBWire.php:218
↓ 7 callers
Method
readSfixed64
(&$input, &$value)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBWire.php:229
↓ 7 callers
Method
readSint32
(&$input, &$value)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBWire.php:190
↓ 7 callers
Method
readVarint64
* Read Uint64 into $var. Advance buffer with consumed bytes. * @param $var. */
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:147
↓ 7 callers
Method
registerSchemaOverride
Visible for testing only. Registers the given schema for the message type. If a schema was previously registered, it will be replaced by the provided
deps/protobuf/java/core/src/main/java/com/google/protobuf/Protobuf.java:130
↓ 7 callers
Method
rend
deps/protobuf/src/google/protobuf/repeated_ptr_field.h:619
↓ 7 callers
Method
retainAll
(Collection<?> c)
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractProtobufList.java:159
↓ 7 callers
Function
round
(const_context, builder, op)
coremltools/converters/mil/backend/nn/op_mapping.py:1133
↓ 7 callers
Function
roundtrip_and_compare_mlmodel
(mlmodel, input_dict)
coremltools/converters/mil/frontend/milproto/test_load.py:69
↓ 7 callers
Method
rows
deps/pybind11/tests/test_buffers.cpp:121
↓ 7 callers
Method
save
mlmodel/src/Model.cpp:192
↓ 7 callers
Method
setListValue
* Represents a repeated `Value`. * * Generated from protobuf field <code>.google.protobuf.ListValue list_value = 6;</code> * @param \Go
deps/protobuf/php/src/Google/Protobuf/Value.php:227
↓ 7 callers
Method
setRepeated
(Builder builder, int index, Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2043
↓ 7 callers
Method
setString
* Sets a boolean value to the field with the given field number. * @param {number} fieldNumber * @param {string} value
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2007
↓ 7 callers
Method
setTypeName
* For message and enum types, this is the name of the type. If the name * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto.php:342
↓ 7 callers
Method
setUpper
mlmodel/src/LayerShapeConstraints.cpp:442
↓ 7 callers
Method
set_extendee
deps/protobuf/src/google/protobuf/descriptor.pb.h:10255
↓ 7 callers
Method
set_output_types
Set the user defined output type for a function. Note: the common::update_output_dtypes graph pass takes this information, an
coremltools/converters/mil/mil/block.py:1120
↓ 7 callers
Method
set_syntax
deps/protobuf/src/google/protobuf/api.pb.h:1068
↓ 7 callers
Function
set_training_features
(spec, training_features)
coremltools/models/_interface_management.py:208
↓ 7 callers
Method
span
deps/protobuf/src/google/protobuf/descriptor.pb.h:14157
↓ 7 callers
Method
state_tensor_placeholder
(shape, dtype=None)
coremltools/converters/mil/mil/builder.py:260
↓ 7 callers
Function
string_as_array
Return a mutable char* pointing to a string's internal buffer, which may not be null-terminated. Writing through this pointer will modify the string.
deps/protobuf/src/google/protobuf/stubs/stl_util.h:77
↓ 7 callers
Method
toString
Converts a FieldMask to a string.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java:64
↓ 7 callers
Method
to_h
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:181
↓ 7 callers
Method
tryConsume
If the next token exactly matches {@code token}, consume it and return {@code true}. Otherwise, return {@code false} without doing anything.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1011
↓ 7 callers
Method
types_to_proto
Return proto.MIL_pb2.ValueType from PyMIL types.
coremltools/converters/mil/backend/mil/load.py:257
↓ 7 callers
Method
union
Creates a union of two or more FieldMasks.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java:269
↓ 7 callers
Function
upb_array_get
deps/protobuf/php/ext/google/protobuf/php-upb.c:7264
↓ 7 callers
Function
upb_fielddef_containingtype
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4822
↓ 7 callers
Function
upb_fielddef_haspresence
deps/protobuf/php/ext/google/protobuf/php-upb.c:5329
↓ 7 callers
Function
upb_inttable_done
deps/protobuf/php/ext/google/protobuf/php-upb.c:2627
↓ 7 callers
Function
upb_inttable_done
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2627
↓ 7 callers
Function
upb_msgdef_fullname
deps/protobuf/php/ext/google/protobuf/php-upb.c:5349
↓ 7 callers
Function
upb_strtable_insert
deps/protobuf/php/ext/google/protobuf/php-upb.c:2310
↓ 7 callers
Function
upb_strtable_insert
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2310
↓ 7 callers
Function
upb_strtable_iter_value
deps/protobuf/php/ext/google/protobuf/php-upb.c:2371
↓ 7 callers
Function
upb_strtable_iter_value
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2371
↓ 7 callers
Function
upb_strtable_lookup
For NULL-terminated strings. */
deps/protobuf/php/ext/google/protobuf/php-upb.h:956
↓ 7 callers
Function
upb_strtable_lookup
For NULL-terminated strings. */
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:960
↓ 7 callers
Method
validate_observed_module
(cls, observed_module: _nn.Module)
coremltools/optimize/torch/palettization/_custom_conversion.py:47
↓ 7 callers
Method
value
($name)
deps/protobuf/php/src/Google/Protobuf/Syntax.php:44
↓ 7 callers
Method
valueOf
(final FieldDescriptorProto.Type type)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1410
↓ 7 callers
Method
weight
(self)
coremltools/optimize/torch/quantization/modules/qat_modules.py:53
↓ 7 callers
Method
write
(byte value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:482
↓ 7 callers
Method
writeBytesNoTag
(final ByteString value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:465
↓ 7 callers
Method
writeOneof
($number, $value)
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:238
↓ 7 callers
Method
writeRaw_
* Writes raw bytes to the buffer. * @param {!ArrayBuffer} arrayBuffer * @private
deps/protobuf/js/experimental/runtime/kernel/writer.js:440
↓ 7 callers
Method
writeSint32
* Writes a sint32 value field to the buffer as a varint. * @param {number} fieldNumber * @param {number} value
deps/protobuf/js/experimental/runtime/kernel/writer.js:392
↓ 7 callers
Method
writeSint64
* Writes a sint64 value field to the buffer as a varint. * @param {number} fieldNumber * @param {!Int64} value
deps/protobuf/js/experimental/runtime/kernel/writer.js:417
↓ 7 callers
Method
writeTag
(final int fieldNumber, final int wireType)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2405
↓ 7 callers
Method
writeTag
(final int fieldNumber, final int wireType)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2719
↓ 7 callers
Method
writeUInt32NoTag
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2569
↓ 7 callers
Method
writeUInt32NoTag
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2883
↓ 7 callers
Method
writeVarint32
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:1136
↓ 7 callers
Method
writeVarint32
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:1673
↓ 7 callers
Method
writeVarint32
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:2204
↓ 7 callers
Method
writeVarint32
(int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:2761
↓ 6 callers
Method
AddEnum
deps/protobuf/src/google/protobuf/extension_set.cc:540
↓ 6 callers
Function
AddEnumValue
deps/protobuf/src/google/protobuf/descriptor_unittest.cc:173
↓ 6 callers
Function
AddField
deps/protobuf/src/google/protobuf/descriptor_unittest.cc:110
↓ 6 callers
Method
AssertRoundtrip
(Timestamp timestamp, DateTime dateTime)
deps/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/TimestampTest.cs:87
↓ 6 callers
Method
BuildFileCollectingErrors
deps/protobuf/src/google/protobuf/descriptor.cc:4156
↓ 6 callers
Method
CalculateSize
<summary> Calculates the size of this message in Protocol Buffer wire format, in bytes. </summary> <returns>The number of bytes required to write this
deps/protobuf/csharp/src/Google.Protobuf/IMessage.cs:62
↓ 6 callers
Method
CalculateSize
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/MapUnittestProto3.cs:550
↓ 6 callers
Method
ClearExtension
Clears the contents of a given extension. Args: extension_handle: The handle for the extension to clear.
deps/protobuf/python/google/protobuf/message.py:329
↓ 6 callers
Method
ClearExtension
(pb::Extension<TestAllExtensions, TValue> extension)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:6547
↓ 6 callers
Method
ComputeLengthSize
<summary> Computes the number of bytes that would be needed to encode a length, as written by <see cref="WriteLength"/>. </summary>
deps/protobuf/csharp/src/Google.Protobuf/CodedOutputStream.ComputeSize.cs:227
↓ 6 callers
Function
ComputeUnknownFieldsSize
Compute the size of the UnknownFieldSet on the wire.
deps/protobuf/src/google/protobuf/wire_format.cc:1738
↓ 6 callers
Function
ConstAccess
deps/protobuf/src/google/protobuf/map_field.h:413
↓ 6 callers
Method
ConsumeInteger
Consumes an integer number. Returns: The integer parsed. Raises: ParseError: If an integer couldn't be consumed.
deps/protobuf/python/google/protobuf/text_format.py:1390
↓ 6 callers
Function
Convert_PhpToUpb
deps/protobuf/php/ext/google/protobuf/convert.c:356
↓ 6 callers
Method
CreateWithLimits
<summary> Creates a <see cref="CodedInputStream"/> with the specified size and recursion limits, reading from an input stream. </summary> <remarks> Th
deps/protobuf/csharp/src/Google.Protobuf/CodedInputStream.cs:191
← previous
next →
2,001–2,100 of 41,379, ranked by callers