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
↓ 5 callers
Method
next
Returns the next item and advances one {@link com.google.protobuf.ByteString.LeafByteString}. @return next non-empty LeafByteString or {@code null}
deps/protobuf/java/core/src/main/java/com/google/protobuf/RopeByteString.java:787
↓ 5 callers
Method
no_standard_descriptor_accessor
deps/protobuf/src/google/protobuf/descriptor.pb.h:12945
↓ 5 callers
Method
offset_at
deps/pybind11/include/pybind11/numpy.h:993
↓ 5 callers
Method
packed
deps/protobuf/src/google/protobuf/type.pb.h:1890
↓ 5 callers
Method
parse
Parse from RFC 3339 date string to Timestamp. This method accepts all outputs of {@link #toString(Timestamp)} and it also accepts any fractional digit
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Timestamps.java:236
↓ 5 callers
Method
parse
Parse from a string to produce a duration. @return A Duration parsed from the string. @throws ParseException if parsing fails.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Durations.java:246
↓ 5 callers
Method
parseFieldValue
(FieldDescriptor field, JsonElement json, Message.Builder builder)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1934
↓ 5 callers
Method
path
modelpackage/src/ModelPackage.cpp:545
↓ 5 callers
Method
predict
Asynchronously performs predictions using the loaded ``MLModel``.
coremltools/models/ml_program/experimental/async_wrapper.py:96
↓ 5 callers
Method
presenceMaskAndOffsetAt
(int pos)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5729
↓ 5 callers
Method
previous
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java:131
↓ 5 callers
Method
printSingleFieldValue
(FieldDescriptor field, Object value)
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:1127
↓ 5 callers
Method
printUnknownFields
( final UnknownFieldSet unknownFields, final TextGenerator generator)
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:750
↓ 5 callers
Method
printer
(message, indent, as_one_line)
deps/protobuf/python/google/protobuf/internal/text_format_test.py:2230
↓ 5 callers
Function
read
deps/protobuf/src/google/protobuf/io/io_win32.cc:349
↓ 5 callers
Method
read
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/NioByteString.java:249
↓ 5 callers
Method
readBytes
Read a {@code bytes} field value from the stream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:331
↓ 5 callers
Method
readRawBytesSlowPath
Exactly like readRawBytes, but caller must have already checked the fast path: (size <= (bufferSize - pos) && size > 0) If ensureNoLeakedReferences i
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:2883
↓ 5 callers
Method
readRawBytesTo
Try to get raw bytes from {@code input} with the size of {@code length} and copy to {@code bytes} array. If the size is bigger than the number of rema
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:3883
↓ 5 callers
Method
readVarint32
* Read uint32 into $var. Advance buffer with consumed bytes. If the * contained varint is larger than 32 bits, discard the high order bits.
deps/protobuf/php/src/Google/Protobuf/Internal/CodedInputStream.php:118
↓ 5 callers
Method
receive
Listens for incoming data - Returns: An AsyncStream of Input values - Throws: ConnectionError if listening fails
coremltools/modelrunner/ModelRunner/Socket.swift:16
↓ 5 callers
Method
register_var_with_name
(self, name, var)
coremltools/converters/mil/frontend/milproto/load.py:52
↓ 5 callers
Method
remove
( self, keys: List[K], )
coremltools/models/ml_program/experimental/debugging_utils.py:97
↓ 5 callers
Method
remove
(int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:200
↓ 5 callers
Function
requires_grad
If the given weights is a torch parameter instance and has requires_grad == True, returns True. Otherwise returns False.
coremltools/optimize/torch/_utils/transforms.py:196
↓ 5 callers
Method
reserved_range_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:9855
↓ 5 callers
Method
retrieve_outputs
Asynchronously retrieve intermediate outputs for the specified output names and inputs. This method inspects the model with given in
coremltools/models/ml_program/experimental/debugging_utils.py:566
↓ 5 callers
Method
serializeFieldToStream
* @ignore */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1428
↓ 5 callers
Method
setBoolValue
* Represents a boolean value. * * Generated from protobuf field <code>bool bool_value = 4;</code> * @param bool $var * @return $th
deps/protobuf/php/src/Google/Protobuf/Value.php:165
↓ 5 callers
Method
setBoolean
Like {@link #set(int, Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:620
↓ 5 callers
Method
setBytes
* Sets a boolean value to the field with the given field number. * @param {number} fieldNumber * @param {!ByteString} value
deps/protobuf/js/experimental/runtime/kernel/kernel.js:1872
↓ 5 callers
Method
setCursor
* Sets the cursor to the specified position. * @param {number} position
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder.js:117
↓ 5 callers
Method
setField
Sets a field to the given value. The value must be of the correct type for this field, i.e. the same type that {@link Message#getField(Descriptors.Fie
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageReflection.java:249
↓ 5 callers
Method
setFieldInternal
(ThreadContext context, FieldDescriptor fieldDescriptor, IRubyObject value)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java:1033
↓ 5 callers
Method
setInt
Like {@link #set(int, Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:600
↓ 5 callers
Method
setLong
Like {@link #set(int, Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:640
↓ 5 callers
Method
setParseError
* Sets parse_error field. * @param {string} value
deps/protobuf/js/experimental/runtime/kernel/conformance/conformance_response.js:38
↓ 5 callers
Method
setProtobufPayload
* Sets protobuf_payload field. * @param {!ArrayBuffer} value
deps/protobuf/js/experimental/runtime/kernel/conformance/conformance_response.js:54
↓ 5 callers
Method
setSequence
mlmodel/src/LayerShapeConstraints.cpp:858
↓ 5 callers
Method
setSfixed64
* Sets a sfixed64 value to the field with the given field number. * @param {number} fieldNumber * @param {!Int64} value
deps/protobuf/js/experimental/runtime/kernel/kernel.js:1971
↓ 5 callers
Method
setSizeLimit
Only valid for {@link InputStream}-backed streams. <p>Set the maximum message size. In order to prevent malicious messages from exhausting memory or
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:416
↓ 5 callers
Method
setStringValue
* Represents a string value. * * Generated from protobuf field <code>string string_value = 3;</code> * @param string $var * @retur
deps/protobuf/php/src/Google/Protobuf/Value.php:134
↓ 5 callers
Method
setUint32
* Sets a uint32 value to the field with the given field number. * @param {number} fieldNumber * @param {number} value
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2019
↓ 5 callers
Method
set_begin
deps/protobuf/src/google/protobuf/descriptor.pb.h:14591
↓ 5 callers
Function
set_error
deps/pybind11/tests/test_exceptions.h:12
↓ 5 callers
Method
set_module_name
Set the module level optimization config for a given module instance. If the module level optimization config for an existing module
coremltools/optimize/torch/optimization_config.py:73
↓ 5 callers
Method
set_nanos
deps/protobuf/src/google/protobuf/duration.pb.h:269
↓ 5 callers
Method
set_oneof_index
deps/protobuf/src/google/protobuf/type.pb.h:1878
↓ 5 callers
Function
set_parents
deps/nlohmann/json.hpp:18041
↓ 5 callers
Method
set_start
deps/protobuf/src/google/protobuf/descriptor.pb.h:9265
↓ 5 callers
Function
shape
(const_context, builder, op)
coremltools/converters/mil/backend/nn/op_mapping.py:3057
↓ 5 callers
Method
shape
Dimensions of the array
deps/pybind11/include/pybind11/numpy.h:940
↓ 5 callers
Function
shortdefname
deps/protobuf/php/ext/google/protobuf/php-upb.c:4992
↓ 5 callers
Function
shortdefname
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4607
↓ 5 callers
Function
should_use_weight_file
( val: Union[np.ndarray, np.generic], specification_version: Optional[int] = _SPECIFICATION_VERSION_IO
coremltools/converters/mil/backend/mil/load.py:59
↓ 5 callers
Method
shutdown
Shutdown the socket.
coremltools/modelrunner/ModelRunner/Socket.swift:24
↓ 5 callers
Method
singularToFieldSetType
(final Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:1286
↓ 5 callers
Method
skip
(long len)
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java:174
↓ 5 callers
Method
slice
(long begin, long end)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:2013
↓ 5 callers
Method
storeUnknownEnum
Stores an unrecognized enum value as an unknown value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/SchemaUtil.java:983
↓ 5 callers
Function
string_to_builtin
Given a str, return its corresponding builtin type.
coremltools/converters/mil/mil/types/type_mapping.py:220
↓ 5 callers
Function
stringsink_string
deps/protobuf/php/ext/google/protobuf/names.c:44
↓ 5 callers
Method
supported_dtypes
(cls)
coremltools/converters/mil/mil/operation.py:162
↓ 5 callers
Method
supportsUnknownEnumValue
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:640
↓ 5 callers
Method
toArray
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyRepeatedField.java:314
↓ 5 callers
Method
toByteString
Returns a BytesString for this field in a thread-safe way.
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyFieldLite.java:369
↓ 5 callers
Method
toCamelCase
(String name, boolean capNext)
deps/protobuf/java/core/src/main/java/com/google/protobuf/SchemaUtil.java:843
↓ 5 callers
Method
toFieldMask
Converts this tree to a FieldMask.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java:201
↓ 5 callers
Method
toString
()
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskTree.java:87
↓ 5 callers
Method
type_inference
(self)
coremltools/converters/mil/mil/ops/defs/iOS17/scatter_gather.py:319
↓ 5 callers
Function
types_to_proto_primitive
(valuetype)
coremltools/converters/mil/backend/mil/helper.py:238
↓ 5 callers
Method
uninterpreted_option_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:9974
↓ 5 callers
Function
upb_arena_fuse
deps/protobuf/php/ext/google/protobuf/php-upb.c:2919
↓ 5 callers
Function
upb_arena_realloc
deps/protobuf/php/ext/google/protobuf/php-upb.h:478
↓ 5 callers
Function
upb_arena_realloc
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:478
↓ 5 callers
Function
upb_arrhas
deps/protobuf/php/ext/google/protobuf/php-upb.c:1941
↓ 5 callers
Function
upb_arrhas
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1941
↓ 5 callers
Function
upb_enumdef_fullname
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4688
↓ 5 callers
Function
upb_fielddef_label
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4790
↓ 5 callers
Function
upb_fielddef_name
deps/protobuf/php/ext/google/protobuf/php-upb.c:5195
↓ 5 callers
Function
upb_fielddef_number
deps/protobuf/php/ext/google/protobuf/php-upb.c:5179
↓ 5 callers
Function
upb_fielddef_number
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4794
↓ 5 callers
Function
upb_inttable_next
deps/protobuf/php/ext/google/protobuf/php-upb.c:2612
↓ 5 callers
Function
upb_inttable_next
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2612
↓ 5 callers
Function
upb_map_set
deps/protobuf/php/ext/google/protobuf/php-upb.c:7312
↓ 5 callers
Function
upb_mapiter_key
Returns the key and value for this entry of the map. */
deps/protobuf/php/ext/google/protobuf/php-upb.c:7334
↓ 5 callers
Function
upb_msgdef_fullname
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4964
↓ 5 callers
Function
upb_msgdef_mapentry
deps/protobuf/php/ext/google/protobuf/php-upb.c:5459
↓ 5 callers
Function
upb_tabstr
deps/protobuf/php/ext/google/protobuf/php-upb.h:858
↓ 5 callers
Function
upb_tabstr
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:858
↓ 5 callers
Function
use_strict_base64_decoding
deps/protobuf/src/google/protobuf/util/internal/datapiece.h:120
↓ 5 callers
Method
usingTypeRegistry
Creates a new {@link Parser} using the given registry. The new Parser clones all other configurations from this Parser. @throws IllegalArgumentExcept
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:433
↓ 5 callers
Method
validate
(self, checks_to_run: _List[str])
coremltools/optimize/torch/_utils/validation_utils.py:43
↓ 5 callers
Function
validate_minimum_deployment_target
Validates the minimum deployment target based on backend and macOS version. Only used in tests.
coremltools/converters/mil/testing_utils.py:853
↓ 5 callers
Method
value
deps/pybind11/tests/constructor_stats.h:142
↓ 5 callers
Method
value_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:10891
↓ 5 callers
Function
verify_op_constexpr_lut_to_dense
(coreml_model, per_layer_lut_shape)
coremltools/test/optimize/torch/conversion/palettization/test_palettization_conversion.py:468
↓ 5 callers
Method
withCheckInitialized
(int[] checkInitialized)
deps/protobuf/java/core/src/main/java/com/google/protobuf/StructuralMessageInfo.java:139
↓ 5 callers
Method
with_args
(cls, **kwargs)
coremltools/optimize/torch/quantization/modules/learnable_fake_quantize.py:372
↓ 5 callers
Method
writeBoolList
( int fieldNumber, List<Boolean> value, Writer writer, boolean packed)
deps/protobuf/java/core/src/main/java/com/google/protobuf/SchemaUtil.java:273
← previous
next →
2,801–2,900 of 41,379, ranked by callers