MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 6 callersMethodgetNumOverflowEntries
@return There number of overflow entries.
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:188
↓ 6 callersMethodgetNumber
(T t)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:2810
↓ 6 callersMethodgetOneofDecl
* @param int $index Must be >= 0 and < getOneofDeclCount() * @return OneofDescriptor */
deps/protobuf/php/src/Google/Protobuf/descriptor.php:88
↓ 6 callersMethodgetOptions
* 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 callersMethodgetPackedExtensionsSet
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:316
↓ 6 callersMethodgetRepeatedFieldBuilder
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 callersMethodgetTypeId
@return {number}
deps/protobuf/js/experimental/runtime/kernel/message_set.js:264
↓ 6 callersMethodgetUnsignedVarint32At
* 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 callersMethodgetValues
* 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 callersMethodget_b_b
deps/pybind11/tests/test_multiple_inheritance.cpp:267
↓ 6 callersMethodget_finalized_weights
(cls, observed_module: _nn.Module)
coremltools/optimize/torch/palettization/_custom_conversion.py:59
↓ 6 callersFunctionget_fuser_method
Creates fuser method from class constructor of fused modules.
coremltools/optimize/torch/quantization/_backend_config_utils.py:75
↓ 6 callersFunctionget_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 callersFunctionget_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 callersMethodget_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 callersFunctionget_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 callersFunctionget_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 callersFunctionget_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 callersFunctionglobals
\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 callersMethodhasKey
modelpackage/src/utils/JsonMap.cpp:66
↓ 6 callersMethodhasSpecialJsonMapping
($msg)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:592
↓ 6 callersMethodhas_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:10145
↓ 6 callersFunctionhash
deps/pybind11/include/pybind11/pytypes.h:934
↓ 6 callersMethodheight
(self)
coremltools/models/neural_network/flexible_shape_utils.py:114
↓ 6 callersMethodholder_constructed
deps/pybind11/include/pybind11/detail/type_caster_base.h:291
↓ 6 callersMethodincrementModCounts
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 callersMethodincrementModCounts
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 callersFunctioninsert
The given key must not already exist in the table. */
deps/protobuf/php/ext/google/protobuf/php-upb.c:2017
↓ 6 callersMethodinsert_pass
Adds a pass at a specific index
coremltools/converters/mil/mil/passes/pass_pipeline.py:336
↓ 6 callersFunctioninvalid_depth
deps/protobuf/src/google/protobuf/util/internal/proto_writer.h:140
↓ 6 callersMethodisRubyNum
(Object value)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/Utils.java:298
↓ 6 callersMethodisValidUtf8
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 callersFunctionis_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 callersFunctionis_float
(t)
coremltools/converters/mil/mil/types/type_double.py:162
↓ 6 callersFunctionitemsize
deps/pybind11/include/pybind11/numpy.h:1211
↓ 6 callersFunctionjsondec_entrysep
deps/protobuf/php/ext/google/protobuf/php-upb.c:7470
↓ 6 callersFunctionjsondec_entrysep
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7085
↓ 6 callersFunctionjsondec_parselit
deps/protobuf/php/ext/google/protobuf/php-upb.c:7450
↓ 6 callersFunctionjsondec_parselit
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7065
↓ 6 callersFunctionjsonenc_putsep
deps/protobuf/php/ext/google/protobuf/php-upb.c:9165
↓ 6 callersFunctionjsonenc_putsep
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8780
↓ 6 callersMethodkey
* Return the current key. * * @return object The current key. */
deps/protobuf/php/src/Google/Protobuf/Internal/MapFieldIter.php:91
↓ 6 callersMethodlist
Some compilers generate link errors when using `const SzType &` here:
deps/pybind11/include/pybind11/pytypes.h:2172
↓ 6 callersMethodload
deps/pybind11/include/pybind11/cast.h:250
↓ 6 callersFunctionload_arg
Loads argument a from environment dictionary env and returns the result.
coremltools/optimize/torch/_utils/transforms.py:91
↓ 6 callersMethodmakeConcretePieces
(byte[] referenceBytes)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ByteStringTest.java:870
↓ 6 callersMethodmax_size
To support Visual Studio 2008
deps/protobuf/src/google/protobuf/map.h:178
↓ 6 callersMethodmergeFieldFrom
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 callersMethodmode
deps/protobuf/src/google/protobuf/descriptor_unittest.cc:2819
↓ 6 callersMethodname_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:13766
↓ 6 callersMethodnewMap
(K key1, V value1)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapTest.java:1531
↓ 6 callersMethodnextByte
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 callersMethodnull
deps/nlohmann/json.hpp:6136
↓ 6 callersMethodnumber_unsigned
deps/nlohmann/json.hpp:6151
↓ 6 callersFunctionobject_or_cast
deps/pybind11/include/pybind11/pytypes.h:1004
↓ 6 callersMethodoneofIntAt
(T message, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5777
↓ 6 callersMethodoneofLongAt
(T message, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:5781
↓ 6 callersMethodoneof_index
deps/protobuf/src/google/protobuf/type.pb.h:1870
↓ 6 callersFunctionparser
deps/nlohmann/json.hpp:16985
↓ 6 callersMethodpatch
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1084
↓ 6 callersMethodpath_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:14101
↓ 6 callersMethodputInt
(Object target, long offset, int value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:131
↓ 6 callersMethodputObject
(Object target, long offset, Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:564
↓ 6 callersFunctionqat_mod_config
Returns backend pattern config for QAT modules.
coremltools/optimize/torch/quantization/_backend_config_utils.py:134
↓ 6 callersMethodreadGroup
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 callersMethodreadRawByte
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 callersMethodreadRawBytes
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 callersMethodreadSFixed32
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 callersMethodreadSFixed64
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 callersMethodreadSInt32
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 callersMethodreadSInt64
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 callersMethodreadUInt64
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 callersMethodreadVarint64
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1531
↓ 6 callersMethodrefillBuffer
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 callersFunctionregister_generic_pass
(ops_arrangement, var_constraints, transform_pattern, pass_name, namespace)
coremltools/converters/mil/experimental/passes/generic_pass_infrastructure.py:223
↓ 6 callersMethodremaining
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 callersMethodremove
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 callersMethodrestore
deps/pybind11/include/pybind11/pytypes.h:705
↓ 6 callersMethodsanitize_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 callersMethodset
(Builder builder, Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2038
↓ 6 callersMethodsetDouble
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 callersMethodsetFloat
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 callersMethodsetMessage
* 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 callersMethodsetOptions
* 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 callersMethodsetStructValue
* 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 callersMethodsetValue
mlmodel/src/LayerShapeConstraints.cpp:464
↓ 6 callersMethodsetValue
($value)
deps/protobuf/php/src/Google/Protobuf/Internal/MapEntry.php:64
↓ 6 callersMethodset_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 callersMethodset_epochs
(self, epochs=1, allowed_set=None)
coremltools/models/neural_network/builder.py:1176
↓ 6 callersFunctionset_parent
deps/nlohmann/json.hpp:18083
↓ 6 callersMethodset_seconds
deps/protobuf/src/google/protobuf/duration.pb.h:249
↓ 6 callersMethodshouldDiscardUnknownFields
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:47
↓ 6 callersMethodshould_record_allocs
deps/protobuf/src/google/protobuf/arena_impl.h:144
↓ 6 callersMethodskipField
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 callersMethodskipRawBytes
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 callersMethodslice
deps/pybind11/include/pybind11/pytypes.h:1912
↓ 6 callersMethodstack_func_inputs
(self, inputs)
coremltools/converters/mil/frontend/tensorflow/converter.py:87
↓ 6 callersMethodstart_array
deps/nlohmann/json.hpp:6186
↓ 6 callersMethodstart_object
deps/nlohmann/json.hpp:6171
↓ 6 callersFunctionstrip_comments
(s)
deps/pybind11/tests/test_factory_constructors.py:349
← previousnext →2,301–2,400 of 41,379, ranked by callers