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
↓ 2 callers
Method
set_post_evaluation_transform
r""" Set the post processing transform applied after the prediction value from the tree ensemble. Parameters --------
coremltools/models/tree_ensemble.py:56
↓ 2 callers
Method
set_pre_processing_parameters
Add a pre-processing parameters layer to the neural network object. Parameters ---------- image_input_names: list of
coremltools/models/neural_network/builder.py:4735
↓ 2 callers
Method
set_proto3_optional
deps/protobuf/src/google/protobuf/descriptor.pb.h:10586
↓ 2 callers
Function
set_proto_dim
(proto_dim, dim)
coremltools/converters/mil/backend/mil/helper.py:52
↓ 2 callers
Method
set_repeated_field_comparison
deps/protobuf/src/google/protobuf/util/message_differencer.cc:344
↓ 2 callers
Method
set_server_streaming
deps/protobuf/src/google/protobuf/descriptor.pb.h:11878
↓ 2 callers
Method
set_sgd_optimizer
(self, sgd_params)
coremltools/models/neural_network/builder.py:1120
↓ 2 callers
Method
set_subtype
! @brief sets the binary subtype Sets the binary subtype of the value, also flags a binary JSON value as having a subtype, which has impl
deps/nlohmann/json.hpp:4785
↓ 2 callers
Method
set_suffix
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1114
↓ 2 callers
Method
set_width
(self, width)
coremltools/models/neural_network/flexible_shape_utils.py:103
↓ 2 callers
Function
setup
(app)
deps/pybind11/docs/conf.py:361
↓ 2 callers
Method
sexp
(self)
coremltools/converters/mil/mil/types/type_spec.py:45
↓ 2 callers
Method
shallowCopy
* Returns a copy of the field, containing the original index entries and a * shallow copy of the cache. * @return {!Field}
deps/protobuf/js/experimental/runtime/kernel/field.js:169
↓ 2 callers
Method
should_be_deduplicated
(val: Union[str, bool, np.ndarray])
coremltools/converters/mil/mil/passes/defs/cleanup/const_deduplication.py:187
↓ 2 callers
Function
silence_unused_warnings
deps/pybind11/include/pybind11/detail/common.h:1219
↓ 2 callers
Function
simple_topsort
(inputs)
coremltools/converters/mil/frontend/tensorflow/basic_graph_ops.py:330
↓ 2 callers
Method
singleLevelHash
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java:455
↓ 2 callers
Method
singularFromFieldSetType
(final Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:1261
↓ 2 callers
Method
singularFromReflectionType
(Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Extension.java:83
↓ 2 callers
Method
singularToReflectionType
(Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Extension.java:87
↓ 2 callers
Function
size
! @brief returns the number of elements Returns the number of elements in a JSON value. @return The return value depends on the differen
deps/nlohmann/json.hpp:21883
↓ 2 callers
Method
size
()
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyRepeatedField.java:360
↓ 2 callers
Method
size
deps/protobuf/src/google/protobuf/repeated_field.h:593
↓ 2 callers
Method
size
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:132
↓ 2 callers
Method
skipField
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:133
↓ 2 callers
Method
skipFieldMessage
Skips the whole body of a message including the beginning delimiter and the ending delimiter.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:2242
↓ 2 callers
Method
skipFieldValue
Skips a field value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:2257
↓ 2 callers
Method
skipGroup
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1681
↓ 2 callers
Method
skipWhitespace
Skip over any whitespace so that the matcher region starts at the next token.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1000
↓ 2 callers
Method
slice
(int begin, int end)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:3964
↓ 2 callers
Function
softmax
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:1499
↓ 2 callers
Function
solve_slice_by_index_slice
Utility function to solve the slices of tensor slicing
coremltools/converters/mil/mil/ops/defs/_utils.py:484
↓ 2 callers
Method
spaceLeft
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:1516
↓ 2 callers
Method
span_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:14148
↓ 2 callers
Function
sparsify_weights
``coremltools.compression_utils.sparsify_weights`` is deprecated and will be removed in the future. Please use :py:class:`coremltools.optimiz
coremltools/models/ml_program/compression_utils.py:70
↓ 2 callers
Method
species
deps/pybind11/tests/test_class.cpp:98
↓ 2 callers
Method
starts_with
( self, keys: List[K], )
coremltools/models/ml_program/experimental/debugging_utils.py:116
↓ 2 callers
Method
stop
deps/pybind11/tests/test_iostream.cpp:59
↓ 2 callers
Function
streql2
deps/protobuf/php/ext/google/protobuf/php-upb.c:6036
↓ 2 callers
Function
streql2
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:5651
↓ 2 callers
Function
string_to_nptype
Given a str, return its corresponding numpy type.
coremltools/converters/mil/mil/types/type_mapping.py:236
↓ 2 callers
Function
strto64
For now, long long is 64-bit on all the platforms we care about, so these functions can simply pass the call to strto[u]ll.
deps/protobuf/src/google/protobuf/stubs/strutil.h:379
↓ 2 callers
Method
subtract
Subtract a duration from another.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/Durations.java:455
↓ 2 callers
Method
subtract
Subtracts {@code secondMask} and {@code otherMasks} from {@code firstMask}. <p>This method disregards proto structure. That is, if {@code firstMask}
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java:285
↓ 2 callers
Method
supportsUnsafeArrayOperations
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:505
↓ 2 callers
Method
supportsUnsafeByteBufferOperations
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:572
↓ 2 callers
Method
suspend
Suspends the service, pausing its asynchronous operations. This method cancels any ongoing tasks associated with the service
coremltools/modelrunner/ModelRunner/Service.swift:42
↓ 2 callers
Method
sync
deps/pybind11/include/pybind11/iostream.h:117
↓ 2 callers
Method
syntax
deps/protobuf/src/google/protobuf/descriptor.h:2408
↓ 2 callers
Method
tagSize
($field)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBWire.php:401
↓ 2 callers
Function
tensor_array_resource_removal
(gd)
coremltools/converters/mil/frontend/tensorflow/tf_graph_pass/tensor_array_transform.py:57
↓ 2 callers
Method
testFindMessageTypeByName
(self)
deps/protobuf/python/google/protobuf/internal/descriptor_pool_test.py:159
↓ 2 callers
Method
testMergeLazyMessageSetExtensionWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatLiteTest.java:443
↓ 2 callers
Method
testMergeLazyMessageSetExtensionWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatTest.java:451
↓ 2 callers
Method
testMergeMessageSetExtensionWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatLiteTest.java:480
↓ 2 callers
Method
testMergeMessageSetExtensionWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatTest.java:487
↓ 2 callers
Method
testParseMessageSetExtensionWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatLiteTest.java:408
↓ 2 callers
Method
testParseMessageSetExtensionWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatTest.java:417
↓ 2 callers
Method
testParseMessageSetWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatLiteTest.java:359
↓ 2 callers
Method
testParseMessageSetWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatTest.java:358
↓ 2 callers
Method
testSerializeMessageSetWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatLiteTest.java:308
↓ 2 callers
Method
testSerializeMessageSetWithFlag
(boolean eagerParsing)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatTest.java:304
↓ 2 callers
Method
testWrite
(ByteBuffer buffer)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ByteBufferWriterTest.java:62
↓ 2 callers
Method
test_batched_mat_mul_single_input_cpu
( self, model_precision=_MLMODEL_FULL_PRECISION, cpu_only=True )
coremltools/test/neural_network/test_numpy_nn_layers.py:1019
↓ 2 callers
Method
test_builder_to_backend_smoke
( self, compute_unit, backend, InputShape_RefShapes_Begins_Ends_EndMasks,
coremltools/converters/mil/mil/ops/tests/iOS17/test_tensor_transformation.py:128
↓ 2 callers
Method
test_builder_to_backend_stress
(self, compute_unit, backend, rank, epsilon, x_param_dtype)
coremltools/converters/mil/mil/ops/tests/iOS17/test_normalization.py:122
↓ 2 callers
Function
test_data_path
()
coremltools/test/optimize/torch/utils.py:119
↓ 2 callers
Method
test_shape_flexibility_enumeration
(self, rank=4)
coremltools/test/neural_network/test_numpy_nn_layers.py:809
↓ 2 callers
Function
testonly_utf8_to_winpath
deps/protobuf/src/google/protobuf/io/io_win32.cc:359
↓ 2 callers
Method
toBuilder
Constructs a builder initialized with the current message. Use this to derive a new message from the current one.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageLite.java:139
↓ 2 callers
Method
toByteArray
(T msg, int size)
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedAdapterTest.java:87
↓ 2 callers
Method
toDateTime
* Converts Timestamp to PHP DateTime. * * @return \DateTime $datetime */
deps/protobuf/php/src/Google/Protobuf/Internal/TimestampBase.php:27
↓ 2 callers
Method
toJsonString
Converts a field mask to a Proto3 JSON string, that is converting from snake case to camel case and joining all paths into one string with commas.
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/FieldMaskUtil.java:177
↓ 2 callers
Method
toStringUtf8
Constructs a new {@code String} by decoding the bytes as UTF-8. @return new string using UTF-8 encoding
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:835
↓ 2 callers
Method
toUint8ArrayUnsafe
* Returns this ByteString as an Uint8Array. DON'T MODIFY the returned array, * since the ByteString holds the reference to the same array. *
deps/protobuf/js/experimental/runtime/bytestring.js:101
↓ 2 callers
Method
to_array
Convert the TensorDescriptor back to a numpy array, reading data from a binary file. This method reconstructs a numpy array from the
coremltools/models/ml_program/experimental/remote_device.py:2014
↓ 2 callers
Method
to_f
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:99
↓ 2 callers
Method
to_str
( self, func_name: Optional[str] = "function", print_attr: Optional[bool] = False )
coremltools/converters/mil/mil/block.py:1080
↓ 2 callers
Method
torch_quantize
return quantized x by pytorch
coremltools/converters/mil/mil/ops/tests/iOS17/test_quantization.py:81
↓ 2 callers
Function
track_copy_assigned
deps/pybind11/tests/constructor_stats.h:227
↓ 2 callers
Function
track_created
deps/pybind11/tests/constructor_stats.h:245
↓ 2 callers
Function
track_move_assigned
deps/pybind11/tests/constructor_stats.h:233
↓ 2 callers
Function
track_values
deps/pybind11/tests/constructor_stats.h:255
↓ 2 callers
Function
transform_conv_crop
Transforms Conv -> Crop -> BN (if present) -> Activation (if present) into Conv -> BN (if present) -> Activation (if present) -> C
coremltools/converters/mil/backend/nn/passes/mlmodel_passes.py:98
↓ 2 callers
Method
transform_model_spec
( model: ct.models.MLModel, update_fn: Callable[[proto.MIL_pb2.Operation], None], )
coremltools/test/ml_program/experimental/test_torch_debugging_utils.py:210
↓ 2 callers
Method
transform_op
(self, op: Operation)
coremltools/optimize/coreml/_quantization_passes.py:492
↓ 2 callers
Function
traverse_offset_bases
For multiple inheritance types we need to recursively register/deregister base pointers for any base classes with pointers that are difference from th
deps/pybind11/include/pybind11/detail/class.h:293
↓ 2 callers
Method
tryGetNextByteBuffer
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:3214
↓ 2 callers
Method
tryRefillBuffer
Tries to read more bytes from the input, making at least {@code n} bytes available in the buffer. Caller must ensure that the requested space is not y
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:2796
↓ 2 callers
Method
typeCompatible
(RubyMap other)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java:428
↓ 2 callers
Method
type_inference
(self)
coremltools/converters/mil/mil/ops/defs/iOS15/random.py:225
↓ 2 callers
Method
unescapeText
Un-escape a text string as escaped using {@link #escapeText(String)}. Two-digit hex escapes (starting with "\x") are also recognized.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:2498
↓ 2 callers
Method
unify
mlmodel/src/LayerShapeConstraints.cpp:516
↓ 2 callers
Method
unknownFieldSetLiteSchema
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/SchemaUtil.java:793
↓ 2 callers
Method
unlock
deps/protobuf/src/google/protobuf/stubs/mutex.h:104
↓ 2 callers
Method
unsafeEstimateConsecutiveAscii
Counts (approximately) the number of consecutive ASCII characters starting from the given position, using the most efficient method available to the p
deps/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java:1662
↓ 2 callers
Function
upb_arena_addblock
deps/protobuf/php/ext/google/protobuf/php-upb.c:2774
↓ 2 callers
Function
upb_arena_addblock
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2774
↓ 2 callers
Function
upb_arena_allocblock
deps/protobuf/php/ext/google/protobuf/php-upb.c:2794
↓ 2 callers
Function
upb_arena_allocblock
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:2794
← previous
next →
7,101–7,200 of 41,379, ranked by callers