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
↓ 6 callers
Method
getNumOverflowEntries
@return There number of overflow entries.
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:188
↓ 6 callers
Method
getNumber
(T t)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:2810
↓ 6 callers
Method
getOneofDecl
* @param int $index Must be >= 0 and < getOneofDeclCount() * @return OneofDescriptor */
deps/protobuf/php/src/Google/Protobuf/descriptor.php:88
↓ 6 callers
Method
getOptions
* Any metadata attached to the interface. * * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
deps/protobuf/php/src/Google/Protobuf/Api.php:191
↓ 6 callers
Method
getPackedExtensionsSet
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:316
↓ 6 callers
Method
getRepeatedFieldBuilder
Get a nested builder instance for the given repeated field instance. <p>Normally, we hold a reference to the immutable message object for the message
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:196
↓ 6 callers
Method
getTypeId
@return {number}
deps/protobuf/js/experimental/runtime/kernel/message_set.js:264
↓ 6 callers
Method
getUnsignedVarint32At
* Returns an unsigned int32 number at the specified index. The upper bits are * discarded if the varint is longer than 32 bits. Also sets the curso
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder.js:266
↓ 6 callers
Method
getValues
* Repeated field of dynamically typed values. * * Generated from protobuf field <code>repeated .google.protobuf.Value values = 1;</code>
deps/protobuf/php/src/Google/Protobuf/ListValue.php:47
↓ 6 callers
Method
get_b_b
deps/pybind11/tests/test_multiple_inheritance.cpp:267
↓ 6 callers
Method
get_finalized_weights
(cls, observed_module: _nn.Module)
coremltools/optimize/torch/palettization/_custom_conversion.py:59
↓ 6 callers
Function
get_fuser_method
Creates fuser method from class constructor of fused modules.
coremltools/optimize/torch/quantization/_backend_config_utils.py:75
↓ 6 callers
Function
get_op_names_in_program
Return the operations names in prog[func_name], in the same order as they are stored (topological)
coremltools/converters/mil/testing_utils.py:281
↓ 6 callers
Function
get_op_types_in_block
Return the operation types in block, in the same order as they are stored (topological)
coremltools/converters/mil/testing_utils.py:295
↓ 6 callers
Method
get_pipeline
Gets a pipeline based on the name. Raises an error if no pipeline is found. Available Pipelines are defined in _PIPELINE_NAME_TO_PASS
coremltools/converters/mil/mil/passes/pass_pipeline.py:398
↓ 6 callers
Function
get_quant_range
Utility to get the quantization range for a given quantization config Adapted from phoenix/quatization/_utils.py
coremltools/optimize/_utils.py:45
↓ 6 callers
Function
get_tf_keras_io_names
Utility function to get tf.keras inputs/outputs names from a tf.keras model. Parameter --------- model: tf.keras.Model
coremltools/converters/mil/frontend/tensorflow/test/testing_utils.py:61
↓ 6 callers
Function
get_tf_node_names
Inputs: - tf_nodes: list[str]. Names of target placeholders or output variable. - mode: str. When mode == inputs, do the stripe f
coremltools/converters/mil/frontend/tensorflow/test/testing_utils.py:88
↓ 6 callers
Function
globals
\ingroup python_builtins Return a dictionary representing the global variables in the current execution frame, or ``__main__.__dict__`` if there is no
deps/pybind11/include/pybind11/pybind11.h:1372
↓ 6 callers
Method
hasKey
modelpackage/src/utils/JsonMap.cpp:66
↓ 6 callers
Method
hasSpecialJsonMapping
($msg)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:592
↓ 6 callers
Method
has_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:10145
↓ 6 callers
Function
hash
deps/pybind11/include/pybind11/pytypes.h:934
↓ 6 callers
Method
height
(self)
coremltools/models/neural_network/flexible_shape_utils.py:114
↓ 6 callers
Method
holder_constructed
deps/pybind11/include/pybind11/detail/type_caster_base.h:291
↓ 6 callers
Method
incrementModCounts
Increments the mod counts so that an ConcurrentModificationException can be thrown if calling code tries to modify the builder while its iterating the
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:552
↓ 6 callers
Method
incrementModCounts
Increments the mod counts so that an ConcurrentModificationException can be thrown if calling code tries to modify the builder while its iterating the
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java:552
↓ 6 callers
Function
insert
The given key must not already exist in the table. */
deps/protobuf/php/ext/google/protobuf/php-upb.c:2017
↓ 6 callers
Method
insert_pass
Adds a pass at a specific index
coremltools/converters/mil/mil/passes/pass_pipeline.py:336
↓ 6 callers
Function
invalid_depth
deps/protobuf/src/google/protobuf/util/internal/proto_writer.h:140
↓ 6 callers
Method
isRubyNum
(Object value)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/Utils.java:298
↓ 6 callers
Method
isValidUtf8
Tells whether this {@code ByteString} represents a well-formed UTF-8 byte sequence, such that the original bytes can be converted to a String object a
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:863
↓ 6 callers
Function
is_compatible_symbolic_vector
compare two vector and check if they are compatible. ([is0, 4], [9, 4]), ([is0, 1],[is1, is2]) are twp compatible examples.
coremltools/converters/mil/mil/types/symbolic.py:16
↓ 6 callers
Function
is_float
(t)
coremltools/converters/mil/mil/types/type_double.py:162
↓ 6 callers
Function
itemsize
deps/pybind11/include/pybind11/numpy.h:1211
↓ 6 callers
Function
jsondec_entrysep
deps/protobuf/php/ext/google/protobuf/php-upb.c:7470
↓ 6 callers
Function
jsondec_entrysep
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7085
↓ 6 callers
Function
jsondec_parselit
deps/protobuf/php/ext/google/protobuf/php-upb.c:7450
↓ 6 callers
Function
jsondec_parselit
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7065
↓ 6 callers
Function
jsonenc_putsep
deps/protobuf/php/ext/google/protobuf/php-upb.c:9165
↓ 6 callers
Function
jsonenc_putsep
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8780
↓ 6 callers
Method
key
* Return the current key. * * @return object The current key. */
deps/protobuf/php/src/Google/Protobuf/Internal/MapFieldIter.php:91
↓ 6 callers
Method
list
Some compilers generate link errors when using `const SzType &` here:
deps/pybind11/include/pybind11/pytypes.h:2172
↓ 6 callers
Method
load
deps/pybind11/include/pybind11/cast.h:250
↓ 6 callers
Function
load_arg
Loads argument a from environment dictionary env and returns the result.
coremltools/optimize/torch/_utils/transforms.py:91
↓ 6 callers
Method
makeConcretePieces
(byte[] referenceBytes)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ByteStringTest.java:870
↓ 6 callers
Method
max_size
To support Visual Studio 2008
deps/protobuf/src/google/protobuf/map.h:178
↓ 6 callers
Method
mergeFieldFrom
Parse a single field from {@code input} and merge it into this set. @param tag The field's tag number, which was already parsed. @return {@code false
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:534
↓ 6 callers
Method
mode
deps/protobuf/src/google/protobuf/descriptor_unittest.cc:2819
↓ 6 callers
Method
name_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:13766
↓ 6 callers
Method
newMap
(K key1, V value1)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapTest.java:1531
↓ 6 callers
Method
nextByte
An alternative to {@link Iterator#next()} that returns an unboxed primitive {@code byte}. @return the next {@code byte} in the iteration @throws NoSu
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:207
↓ 6 callers
Method
null
deps/nlohmann/json.hpp:6136
↓ 6 callers
Method
number_unsigned
deps/nlohmann/json.hpp:6151
↓ 6 callers
Function
object_or_cast
deps/pybind11/include/pybind11/pytypes.h:1004
↓ 6 callers
Method
oneofIntAt
(T message, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5777
↓ 6 callers
Method
oneofLongAt
(T message, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5781
↓ 6 callers
Method
oneof_index
deps/protobuf/src/google/protobuf/type.pb.h:1870
↓ 6 callers
Function
parser
deps/nlohmann/json.hpp:16985
↓ 6 callers
Method
patch
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1084
↓ 6 callers
Method
path_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:14101
↓ 6 callers
Method
putInt
(Object target, long offset, int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:131
↓ 6 callers
Method
putObject
(Object target, long offset, Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:564
↓ 6 callers
Function
qat_mod_config
Returns backend pattern config for QAT modules.
coremltools/optimize/torch/quantization/_backend_config_utils.py:134
↓ 6 callers
Method
readGroup
Reads and returns the next field of type {@code GROUP} and advances the reader to the next field. @deprecated groups fields are deprecated.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:153
↓ 6 callers
Method
readRawByte
Read one byte from the input. @throws InvalidProtocolBufferException The end of the stream or the current limit was reached.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:509
↓ 6 callers
Method
readRawBytes
Read a fixed size of bytes from the input. @throws InvalidProtocolBufferException The end of the stream or the current limit was reached.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:516
↓ 6 callers
Method
readSFixed32
Reads and returns the next field of type {@code SFIXED32} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:183
↓ 6 callers
Method
readSFixed64
Reads and returns the next field of type {@code SFIXED64} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:189
↓ 6 callers
Method
readSInt32
Reads and returns the next field of type {@code SINT32} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:195
↓ 6 callers
Method
readSInt64
Reads and returns the next field of type {@code SINT64} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:201
↓ 6 callers
Method
readUInt64
Reads and returns the next field of type {@code UINT64} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:91
↓ 6 callers
Method
readVarint64
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1531
↓ 6 callers
Method
refillBuffer
Reads more bytes from the input, making at least {@code n} bytes available in the buffer. Caller must ensure that the requested space is not yet avail
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:2776
↓ 6 callers
Function
register_generic_pass
(ops_arrangement, var_constraints, transform_pattern, pass_name, namespace)
coremltools/converters/mil/experimental/passes/generic_pass_infrastructure.py:223
↓ 6 callers
Method
remaining
Try to get the number of remaining bytes in {@code input}. @return the number of remaining bytes in {@code input}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:3950
↓ 6 callers
Method
remove
Removes pruning masks and forward_pre_hooks from the module If `fuse_pruning_mask` is True, then weights are fused with the pruning m
coremltools/optimize/torch/pruning/_base_pruning_method.py:123
↓ 6 callers
Method
restore
deps/pybind11/include/pybind11/pytypes.h:705
↓ 6 callers
Method
sanitize_name
Sanitize the input string and return it back. Input string should be of the format: [a-zA-Z_][a-zA-Z0-9_]* If it is not, the
coremltools/converters/mil/mil/passes/defs/preprocess.py:125
↓ 6 callers
Method
set
(Builder builder, Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2038
↓ 6 callers
Method
setDouble
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:660
↓ 6 callers
Method
setFloat
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:680
↓ 6 callers
Method
setMessage
* Sets a proto Message to the field with the given field number. * Instead of working with the Kernel inside of the message directly, we * need
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2060
↓ 6 callers
Method
setOptions
* Any metadata attached to the interface. * * Generated from protobuf field <code>repeated .google.protobuf.Option options = 3;</code>
deps/protobuf/php/src/Google/Protobuf/Api.php:203
↓ 6 callers
Method
setStructValue
* Represents a structured value. * * Generated from protobuf field <code>.google.protobuf.Struct struct_value = 5;</code> * @param \Goo
deps/protobuf/php/src/Google/Protobuf/Value.php:196
↓ 6 callers
Method
setValue
mlmodel/src/LayerShapeConstraints.cpp:464
↓ 6 callers
Method
setValue
($value)
deps/protobuf/php/src/Google/Protobuf/Internal/MapEntry.php:64
↓ 6 callers
Method
set_device
Method that sets the device of the parameters. Args: device (:py:class:`torch.device`): Device where to hold learnable p
coremltools/optimize/torch/quantization/modules/learnable_fake_quantize.py:141
↓ 6 callers
Method
set_epochs
(self, epochs=1, allowed_set=None)
coremltools/models/neural_network/builder.py:1176
↓ 6 callers
Function
set_parent
deps/nlohmann/json.hpp:18083
↓ 6 callers
Method
set_seconds
deps/protobuf/src/google/protobuf/duration.pb.h:249
↓ 6 callers
Method
shouldDiscardUnknownFields
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:47
↓ 6 callers
Method
should_record_allocs
deps/protobuf/src/google/protobuf/arena_impl.h:144
↓ 6 callers
Method
skipField
Reads and discards a single field, given its tag value. @return {@code false} if the tag is an endgroup tag, in which case nothing is skipped. Ot
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:231
↓ 6 callers
Method
skipRawBytes
Reads and discards {@code size} bytes. @throws InvalidProtocolBufferException The end of the stream or the current limit was reached.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:523
↓ 6 callers
Method
slice
deps/pybind11/include/pybind11/pytypes.h:1912
↓ 6 callers
Method
stack_func_inputs
(self, inputs)
coremltools/converters/mil/frontend/tensorflow/converter.py:87
↓ 6 callers
Method
start_array
deps/nlohmann/json.hpp:6186
↓ 6 callers
Method
start_object
deps/nlohmann/json.hpp:6171
↓ 6 callers
Function
strip_comments
(s)
deps/pybind11/tests/test_factory_constructors.py:349
← previous
next →
2,301–2,400 of 41,379, ranked by callers