MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 9 callersMethodaddFloat
Like {@link #add(Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:677
↓ 9 callersMethodaddInt
Like {@link #add(Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:597
↓ 9 callersMethodaddItem
modelpackage/src/ModelPackage.cpp:409
↓ 9 callersMethodaddLengthDelimited
Add a length-delimited value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:1035
↓ 9 callersMethodaddLong
Like {@link #add(Object)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:637
↓ 9 callersMethodadd_message_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:8858
↓ 9 callersMethodadd_values
deps/protobuf/src/google/protobuf/struct.pb.h:1144
↓ 9 callersMethodasReadOnlyByteBuffer
Constructs a read-only {@code java.nio.ByteBuffer} whose content is equal to the contents of this byte string. The result uses the same backing array
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:777
↓ 9 callersMethodassertAllFieldsSetViaReflection
Assert (using {@code junit.framework.Assert}} that all fields of {@code message} are set to the values assigned by {@code setAllFields}, using the {@l
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:3039
↓ 9 callersMethodassertStringContains
* Polyfill for phpunit6. */
deps/protobuf/php/tests/test_base.php:18
↓ 9 callersMethodbar
(self)
deps/pybind11/tests/test_multiple_inheritance.py:42
↓ 9 callersFunctionbegin
deps/protobuf/src/google/protobuf/stubs/stringpiece.h:305
↓ 9 callersFunctionbuildBasicUpdatableModelWithCategoricalCrossEntropyAndSoftmax
mlmodel/tests/UpdatableModelValidatorTests.cpp:715
↓ 9 callersMethodcamelcase_name
Camelcase name of this field. Returns: str: the name in CamelCase.
deps/protobuf/python/google/protobuf/descriptor.py:610
↓ 9 callersMethodcardinality
deps/protobuf/src/google/protobuf/type.pb.h:1728
↓ 9 callersFunctioncheckCriticalTypeSignedInt32Array
* Checks whether a given object is an array of numbers. * @param {*} values
deps/protobuf/js/experimental/runtime/internal/checks.js:478
↓ 9 callersFunctioncheckCriticalTypeSignedInt64Array
* Checks whether a given object is an array of long instances. * @param {*} values * @throws {!Error} If values is not an array of long instances.
deps/protobuf/js/experimental/runtime/internal/checks.js:522
↓ 9 callersMethodcheckFieldNumber
(int fieldNumber)
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:259
↓ 9 callersFunctioncheckInstanceCreator
* Checks if the instanceCreator returns an instance that implements the * InternalMessage interface. * @param {function(!Kernel):T} instanceCreator
deps/protobuf/js/experimental/runtime/kernel/kernel.js:61
↓ 9 callersMethodcheckNotLite
Checks that the {@link Extension} is non-Lite and returns it as a {@link GeneratedExtension}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:3008
↓ 9 callersMethodcheckNotLite
Checks that the {@link Extension} is non-Lite and returns it as a {@link GeneratedExtension}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:3062
↓ 9 callersFunctioncompile_model
Compiles a Core ML model. Parameters ---------- model: Model_pb2 | str Either a Core ML model specification (protobuf object
coremltools/models/utils.py:1044
↓ 9 callersMethodcompress
Compresses model using samples from ``dataloader``. Args: dataloader (:py:class:`Iterable`): An iterable where each elem
coremltools/optimize/torch/layerwise_compression/layerwise_compressor.py:407
↓ 9 callersMethodcomputeUInt64SizeNoTag
Compute the number of bytes that would be needed to encode a {@code uint64} field, including tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:770
↓ 9 callersMethodcopyMemory
(byte[] src, long srcIndex, long targetOffset, long length)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:241
↓ 9 callersMethoddecodeFixed32
Decodes and returns a fixed32 value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ArrayDecoders.java:154
↓ 9 callersMethoddecodeFixed64
Decodes and returns a fixed64 value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ArrayDecoders.java:162
↓ 9 callersFunctiondelim
deps/protobuf/conformance/binary_json_conformance_suite.cc:140
↓ 9 callersFunctionelements
Return pointer to elements array. pre-condition: the array must have been allocated.
deps/protobuf/src/google/protobuf/repeated_field.h:352
↓ 9 callersFunctionempty
deps/protobuf/src/google/protobuf/stubs/stringpiece.h:240
↓ 9 callersMethodenummodule
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyEnumDescriptor.java:104
↓ 9 callersMethodf
Shorthand to get a FieldDescriptor for a field of unittest::TestAllTypes.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:2779
↓ 9 callersFunctionfft_canonicalize_shapes_dims
Canonicalize shapes and dims for N-D FFT (based on PyTorch's fftn documentation): - shapes: Signal size in the transformed dimensions. If giv
coremltools/converters/mil/mil/ops/defs/complex_dialect_ops.py:65
↓ 9 callersMethodfield
(Class<?> clazz, String name)
deps/protobuf/java/lite/src/test/java/com/google/protobuf/Proto2MessageLiteInfoFactory.java:1313
↓ 9 callersMethodfield
(String name)
deps/protobuf/java/core/src/test/java/com/google/protobuf/Proto2MessageInfoFactory.java:872
↓ 9 callersMethodfields_size
deps/protobuf/src/google/protobuf/type.pb.h:1440
↓ 9 callersMethodfinalize
Removes :py:class:`FakePalettize` layers from a model and creates new model weights from the ``LUT`` and ``indices`` buffers.
coremltools/optimize/torch/palettization/palettizer.py:299
↓ 9 callersMethodfindValueByName
Find an enum value by name. @param name The unqualified name of the value (e.g. "FOO"). @return the value's descriptor, or {@code null} if not found.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1797
↓ 9 callersMethodfrom_state_dict
Initialize per parameter CompressionMetadata from state_dict
coremltools/optimize/torch/_utils/metadata_utils.py:119
↓ 9 callersMethodfunc
(self, x, *args)
deps/pybind11/tests/test_pytypes.py:387
↓ 9 callersMethodgetDescriptorByClassName
* @param string $className A fully qualified protobuf class name * @return Descriptor */
deps/protobuf/php/src/Google/Protobuf/DescriptorPool.php:61
↓ 9 callersMethodgetDescriptorForField
(ThreadContext context, FieldDescriptor fieldDescriptor)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java:1096
↓ 9 callersMethodgetFieldInternal
(ThreadContext context, FieldDescriptor fieldDescriptor)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java:942
↓ 9 callersMethodgetFields
()
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyOneofDescriptor.java:66
↓ 9 callersMethodgetFromMessage
Get the unknown fields from the message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:69
↓ 9 callersMethodgetKey
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:413
↓ 9 callersMethodgetMessageSetWireFormat
* Set true to use the old proto1 MessageSet wire format for extensions. * This is provided for backwards-compatibility with the MessageSet wire
deps/protobuf/php/src/Google/Protobuf/Internal/MessageOptions.php:164
↓ 9 callersMethodgetMethodOrDie
Calls Class.getMethod and throws a RuntimeException if it fails.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:1840
↓ 9 callersMethodgetName
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyDescriptor.java:78
↓ 9 callersMethodgetOneofs
Get a list of this message type's oneofs.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:720
↓ 9 callersMethodgetPackage
Get the proto package name. This is the package name given by the {@code package} statement in the {@code .proto} file, which differs from the Java pa
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:124
↓ 9 callersMethodgetSetter
()
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptor.php:92
↓ 9 callersMethodgetType
* @return int */
deps/protobuf/php/src/Google/Protobuf/FieldDescriptor.php:79
↓ 9 callersMethodhas_optional_keyword
deps/protobuf/src/google/protobuf/descriptor.h:2291
↓ 9 callersMethodhas_options
deps/protobuf/src/google/protobuf/descriptor.pb.h:8995
↓ 9 callersMethodinsert
deps/pybind11/include/pybind11/pytypes.h:2195
↓ 9 callersMethodinternalGetFieldAccessorTable
Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with Descr
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:104
↓ 9 callersMethodinternalGetFieldAccessorTable
Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with Descr
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:129
↓ 9 callersMethodis
* This method returns whether the type_url in any_message is corresponded * to the given class. * @param klass: The fully qualified PHP clas
deps/protobuf/php/src/Google/Protobuf/Internal/AnyBase.php:78
↓ 9 callersMethodisOptional
Is this field declared optional?
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1179
↓ 9 callersMethodis_unsigned
(cls)
coremltools/converters/mil/mil/types/type_int.py:87
↓ 9 callersFunctionjsondec_peek
deps/protobuf/php/ext/google/protobuf/php-upb.c:7516
↓ 9 callersFunctionjsondec_peek
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7131
↓ 9 callersFunctionjsonenc_printf
deps/protobuf/php/ext/google/protobuf/php-upb.c:8874
↓ 9 callersFunctionjsonenc_printf
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8489
↓ 9 callersMethodload
Asynchronously loads the ``MLModel``.
coremltools/models/ml_program/experimental/async_wrapper.py:82
↓ 9 callersMethodmergeMessage
Helper method to merge two MessageLite instances.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:386
↓ 9 callersMethodmutable_field
deps/protobuf/src/google/protobuf/descriptor.pb.h:9531
↓ 9 callersMethodname
deps/protobuf/src/google/protobuf/descriptor_database.cc:447
↓ 9 callersMethodnewBuilder
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/TypeRegistry.java:59
↓ 9 callersFunctionnext
deps/protobuf/php/ext/google/protobuf/php-upb.c:2101
↓ 9 callersMethodnext
deps/protobuf/java/kotlin/src/main/kotlin/com/google/protobuf/UnmodifiableCollections.kt:66
↓ 9 callersMethodparseException
Returns a {@link ParseException} with the current line and column numbers in the description, suitable for throwing.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1321
↓ 9 callersMethodparseFrom
Parse a message of the given type from the given input stream.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:90
↓ 9 callersMethodpopLimit
Discards the current limit, returning to the previous limit. @param oldLimit The old limit, as returned by {@code pushLimit}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:481
↓ 9 callersMethodread
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/ParserTest.java:299
↓ 9 callersMethodreadUint64
(&$input, &$value)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBWire.php:185
↓ 9 callersMethodremoveAll
(Collection<?> c)
deps/protobuf/java/core/src/main/java/com/google/protobuf/AbstractProtobufList.java:153
↓ 9 callersFunctionrename_feature
Rename a feature in the specification. Parameters ---------- spec: Model_pb The specification containing the feature to rena
coremltools/models/utils.py:585
↓ 9 callersMethodrequest
deps/pybind11/include/pybind11/pytypes.h:2274
↓ 9 callersMethodrequireBytes
(int size)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1695
↓ 9 callersFunctionruby_to_EnumDescriptor
deps/protobuf/ruby/ext/google/protobuf_c/defs.c:1013
↓ 9 callersMethodsax_parse
deps/nlohmann/json.hpp:10594
↓ 9 callersFunctionset
Sets the current value of the proto extension in this builder.*/
deps/protobuf/java/kotlin/src/main/kotlin/com/google/protobuf/ExtendableMessageExtensions.kt:37
↓ 9 callersMethodsetLocation
Record the starting location of a single value for a field. @param fieldDescriptor the field @param location source code location information
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java:181
↓ 9 callersMethodsetType
($type)
deps/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptor.php:132
↓ 9 callersFunctionspatial_dimensions_out_shape
Args pad_type: string. Must be one of ('same', 'same_lower', 'valid', 'custom') input_shape: [iH, iW, ...]: spatial input dims (
coremltools/converters/mil/mil/ops/defs/_utils.py:239
↓ 9 callersMethodstartsWith
Tests if this bytestring starts with the specified prefix. Similar to {@link String#startsWith(String)} @param prefix the prefix. @return <code>true<
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:333
↓ 9 callersMethodsubtype
! @brief return the binary subtype Returns the numerical subtype of the value if it has a subtype. If it does not have a subtype, this fu
deps/nlohmann/json.hpp:4812
↓ 9 callersFunctionsymtab_errf
deps/protobuf/php/ext/google/protobuf/php-upb.c:5729
↓ 9 callersFunctionsymtab_errf
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:5344
↓ 9 callersFunctionupb_arena_free
deps/protobuf/php/ext/google/protobuf/php-upb.c:2893
↓ 9 callersFunctionupb_arena_new
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:489
↓ 9 callersFunctionupb_fielddef_haspresence
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4944
↓ 9 callersFunctionupb_msg_has
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:6677
↓ 9 callersFunctionupb_msg_mutable
deps/protobuf/php/ext/google/protobuf/php-upb.c:7098
↓ 9 callersFunctionupb_msg_new
deps/protobuf/php/ext/google/protobuf/php-upb.c:7046
↓ 9 callersFunctionupb_msgdef_wellknowntype
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:5078
↓ 9 callersMethodverifyContainingType
Verifies that the field is a field of this message.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DynamicMessage.java:612
↓ 9 callersMethodwidth
(self)
coremltools/converters/mil/mil/types/type_int.py:28
← previousnext →1,501–1,600 of 41,379, ranked by callers