MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 20 callersMethodhasArray
Indicates whether this buffer contains a backing array (i.e. it is safe to call {@link #array()}).
deps/protobuf/java/core/src/main/java/com/google/protobuf/AllocatedBuffer.java:53
↓ 20 callersMethodisAtEnd
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:107
↓ 20 callersMethodmergeFromJson
(String json, Message.Builder builder)
deps/protobuf/java/util/src/test/java/com/google/protobuf/util/JsonFormatTest.java:182
↓ 20 callersMethodnewBuilderForField
Create a builder for messages of the appropriate type for the given field. The builder is NOT nested in the current builder. However, messages built w
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:162
↓ 20 callersMethodnewMessage
Creates a new random message instance.
deps/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalMessageFactory.java:36
↓ 20 callersMethodnewString
(char... chars)
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedOutputStreamTest.java:718
↓ 20 callersFunctionobject
deps/pybind11/include/pybind11/pytypes.h:366
↓ 20 callersMethodreadBytes
Reads and returns the next field of type {@code BYTES} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:165
↓ 20 callersMethodrun_compare_torch
( input_data, model, atol=1e-04, rtol=1e-05, input_as_shape=True,
coremltools/converters/mil/frontend/torch/test/test_torch_quantization_ops.py:107
↓ 20 callersMethodslice
Creates a slice of a range of this buffer. @param beginIndex the beginning index of the slice (inclusive). @param endIndex the end index of the slice
deps/protobuf/java/core/src/main/java/com/google/protobuf/NioByteString.java:282
↓ 20 callersMethodupdateBatchRange
mlmodel/src/LayerShapeConstraints.cpp:735
↓ 20 callersMethodwriteDouble
Writes a field of type {@link FieldType#DOUBLE}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:66
↓ 20 callersMethodwriteFixed64
Writes a field of type {@link FieldType#FIXED64}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:78
↓ 20 callersMethodwriteInt64
Writes a field of type {@link FieldType#INT64}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:57
↓ 20 callersMethodwriteRawVarint32
Encode and write a varint. {@code value} is treated as unsigned, so it won't be sign-extended if negative. @deprecated use {@link #writeUInt32NoTag}
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:1091
↓ 19 callersMethodFileDescriptorProto
deps/protobuf/src/google/protobuf/descriptor.pb.cc:32
↓ 19 callersMethodFindFieldByNumber
deps/protobuf/src/google/protobuf/descriptor.cc:1482
↓ 19 callersMethodFindFileByName
Find a file by file name.
deps/protobuf/python/google/protobuf/pyext/descriptor_database.cc:113
↓ 19 callersMethodForFixed32
<summary> Retrieves a codec suitable for a fixed32 field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the gi
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:104
↓ 19 callersMethodPack
Packs the specified message into current Any message.
deps/protobuf/python/google/protobuf/internal/well_known_types.py:65
↓ 19 callersMethodPack
()
deps/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/AnyTest.cs:40
↓ 19 callersMethodReadFixed32
<summary> Reads a fixed32 field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:221
↓ 19 callersMethodSetAllFields
deps/protobuf/src/google/protobuf/test_util_lite.cc:45
↓ 19 callersMethodToString
(string[] input, string expectedOutput)
deps/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/FieldMaskTest.cs:93
↓ 19 callersMethodWriteFixed64
<summary> Writes a fixed64 field value, without a tag. </summary> <param name="value">The value to write</param>
deps/protobuf/csharp/src/Google.Protobuf/WriteContext.cs:149
↓ 19 callersMethodWriteRawVarint32
<summary> Writes a 32 bit value as a varint. The fast route is taken when there's enough buffer space left to whizz through without checking for each
deps/protobuf/csharp/src/Google.Protobuf/CodedOutputStream.cs:496
↓ 19 callersFunction_translate_torch_args
( node, weight: Var, stride: Var, padding: Var, dilation: Var, groups: Var, out_padding: Var )
coremltools/converters/mil/frontend/torch/ops.py:1277
↓ 19 callersFunctionaddShuffleAndSeed
mlmodel/tests/ParameterTests.cpp:208
↓ 19 callersFunctionbasic_json
! @brief create an empty value with a given type Create an empty JSON value with a given type. The value will be default initialized with
deps/nlohmann/json.hpp:18205
↓ 19 callersMethoddefault_value_enum
deps/protobuf/src/google/protobuf/descriptor.cc:7942
↓ 19 callersMethodextension_scope
deps/protobuf/src/google/protobuf/descriptor.h:2255
↓ 19 callersFunctiongenerateInterface
mlmodel/tests/KNNValidatorTests.cpp:25
↓ 19 callersMethodgetPackedSet
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:304
↓ 19 callersMethodgetParserForType
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:53
↓ 19 callersMethodgetString
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/ExperimentalTestDataProvider.java:79
↓ 19 callersMethodgetType
* @ignore */
deps/protobuf/php/src/Google/Protobuf/Internal/RepeatedField.php:93
↓ 19 callersMethodgetvalue
(self)
deps/protobuf/python/google/protobuf/text_format.py:109
↓ 19 callersFunctioninternal_default_instance
deps/protobuf/src/google/protobuf/api.pb.h:121
↓ 19 callersMethodparse_error
deps/nlohmann/json.hpp:2807
↓ 19 callersMethodquantize
Quantize ``x`` using pre-computed quantization parameters.
coremltools/optimize/torch/layerwise_compression/_quant.py:193
↓ 19 callersMethodread_state
Retrieve the value of a model state variable. Parameters ---------- name : str The name of the state var
coremltools/models/model.py:202
↓ 19 callersMethodregisterAllExtensions
Register all of {@code TestAllExtensions}'s extensions with the given {@link ExtensionRegistry}.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:1206
↓ 19 callersMethodreverse
(self)
deps/protobuf/python/google/protobuf/internal/containers.py:92
↓ 19 callersMethodstep
Step through the palettizer. When the number of times ``step`` is called is equal to ``milestone``, palettization is enabled.
coremltools/optimize/torch/palettization/palettizer.py:327
↓ 19 callersMethodunpack
* This method will try to resolve the type_url in Any message to get the * targeted message type. If failed, an error will be thrown. Otherwise,
deps/protobuf/php/src/Google/Protobuf/Internal/AnyBase.php:23
↓ 19 callersFunctionupb_arena_malloc
deps/protobuf/php/ext/google/protobuf/php-upb.h:451
↓ 19 callersFunctionupb_arena_malloc
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:451
↓ 19 callersFunctionupb_fielddef_issubmsg
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4918
↓ 19 callersFunctionupb_fielddef_msgsubdef
deps/protobuf/php/ext/google/protobuf/php-upb.c:5291
↓ 19 callersMethodwriteInt32
Writes a field of type {@link FieldType#INT32}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Writer.java:75
↓ 19 callersMethodwriteTag
* Encodes a (field number, wire type) tuple into a wire-format field header. * @param {number} fieldNumber * @param {!WireType} wireType
deps/protobuf/js/experimental/runtime/kernel/writer.js:93
↓ 18 callersMethodCheckParseBack
(self, message, parsed_message)
deps/protobuf/python/google/protobuf/internal/json_format_test.py:96
↓ 18 callersFunctionCopyFrom
deps/protobuf/src/google/protobuf/empty.pb.h:146
↓ 18 callersFunctionFieldRange
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:917
↓ 18 callersMethodForSFixed32
<summary> Retrieves a codec suitable for an sfixed32 field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:114
↓ 18 callersMethodOpen
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc:116
↓ 18 callersFunctionParseFromString
deps/protobuf/src/google/protobuf/unknown_field_set.h:165
↓ 18 callersFunctionSkipField
Skips a field with the specified tag. |pos| should point to the byte immediately after the tag. Returns: The new position (after the
deps/protobuf/python/google/protobuf/internal/decoder.py:1013
↓ 18 callersFunctionUnknownFieldParse
deps/protobuf/src/google/protobuf/parse_context.cc:549
↓ 18 callersFunction_check_child_op_type
:param op: operation :param child_op_type: str :return: Return True if op has 1 child and type of that child matches child_op_type
coremltools/converters/mil/mil/passes/helper.py:69
↓ 18 callersMethodaddExtension
Append a value to a repeated extension.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:1323
↓ 18 callersMethodaddLong
Like {@link #add(Long)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/LongArrayList.java:193
↓ 18 callersFunctioncall_once
deps/protobuf/src/google/protobuf/stubs/once.h:45
↓ 18 callersMethodcheckMessage
(&$var, $klass, $newClass = null)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:194
↓ 18 callersMethodencode_json
(msg, options = {})
deps/protobuf/ruby/lib/google/protobuf.rb:66
↓ 18 callersMethodforProto2OptionalField
Constructor for a proto2 optional field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:181
↓ 18 callersMethodfromArrayBuffer
* Create a Kernel for the given binary bytes. * The bytes array is kept by the Kernel. DON'T MODIFY IT. * @param {!ArrayBuffer} arrayBuffer Bina
deps/protobuf/js/experimental/runtime/kernel/kernel.js:357
↓ 18 callersMethodgetByte
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:119
↓ 18 callersMethodgetIndex
Get the index of this descriptor within its parent. In other words, given a {@link FileDescriptor} {@code file}, the following is true: <pre> for a
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:665
↓ 18 callersFunctioninit
deps/pybind11/include/pybind11/pybind11.h:2006
↓ 18 callersMethodis_synthetic
deps/protobuf/src/google/protobuf/descriptor.h:2336
↓ 18 callersFunctionjsonenc_putstr
deps/protobuf/php/ext/google/protobuf/php-upb.c:8869
↓ 18 callersFunctionjsonenc_putstr
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8484
↓ 18 callersMethodload
Load TensorFlow model into MIL program.
coremltools/converters/mil/frontend/tensorflow/load.py:55
↓ 18 callersFunctionload_spec
Load a protobuf model specification from file (``mlmodel``) or directory (``mlpackage``). Parameters ---------- model_path: Path to
coremltools/models/utils.py:238
↓ 18 callersMethodmutable_options
deps/protobuf/src/google/protobuf/api.pb.h:846
↓ 18 callersMethodnewInstance
Construct a new, empty instance. <p>This may be an {@code ExtensionRegistry} if the full (non-Lite) proto libraries are available.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ExtensionRegistryLite.java:113
↓ 18 callersMethodnewOutput
Creates a new {@link Output} with the given initial capacity. Call {@link Output#toByteString()} to create the {@code ByteString} instance. <p>A {@li
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:978
↓ 18 callersMethodreadInt32
Reads and returns the next field of type {@code INT32} and advances the reader to the next field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:103
↓ 18 callersMethodsetHeight
mlmodel/src/LayerShapeConstraints.cpp:870
↓ 18 callersMethodsetRepeatedField
Sets an element of a repeated field to the given value. The value must be of the correct type for this field, i.e. the same type that {@link Message#g
deps/protobuf/java/core/src/main/java/com/google/protobuf/Message.java:224
↓ 18 callersMethodset_global
Sets the global config that would be applied to all constant ops. .. code-block:: python from coremltools.optimize.core
coremltools/optimize/coreml/_config.py:855
↓ 18 callersFunctionsize
deps/protobuf/src/google/protobuf/stubs/strutil.h:667
↓ 18 callersFunctionvalueType
mlmodel/src/Validation/ValidatorUtils-inl.hpp:57
↓ 17 callersMethodAdd
Adds the FileDescriptorProto and its types to this pool. Args: file_desc_proto (FileDescriptorProto): The file descriptor to add.
deps/protobuf/python/google/protobuf/descriptor_pool.py:195
↓ 17 callersMethodAssertReadingMessage
(MessageParser<T> parser, byte[] bytes, Action<T> assert)
deps/protobuf/csharp/src/Google.Protobuf.Test/MessageParsingHelpers.cs:42
↓ 17 callersMethodAssertWritingMessage
(IMessage message)
deps/protobuf/csharp/src/Google.Protobuf.Test/MessageParsingHelpers.cs:118
↓ 17 callersFunctionClassName
DEPRECATED just use ClassName or QualifiedClassName, a boolean is very unreadable at the callsite. Returns the non-nested type name for the given type
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:129
↓ 17 callersFunctionClearOneofField
Clears a oneof field. The field argument should correspond to the particular field that is currently set in the oneof.
deps/protobuf/src/google/protobuf/generated_message_table_driven_lite.h:147
↓ 17 callersMethodComputeBytesSize
<summary> Computes the number of bytes that would be needed to encode a bytes field, including the tag. </summary>
deps/protobuf/csharp/src/Google.Protobuf/CodedOutputStream.ComputeSize.cs:162
↓ 17 callersFunctionData
mlmodel/src/MILBlob/Util/Span.hpp:488
↓ 17 callersMethodForFixed64
<summary> Retrieves a codec suitable for a fixed64 field with the given tag. </summary> <param name="tag">The tag.</param> <returns>A codec for the gi
deps/protobuf/csharp/src/Google.Protobuf/FieldCodec.cs:154
↓ 17 callersMethodFromMessages
<summary> Creates a type registry from the file descriptor parents of the specified set of message descriptors. </summary> <remarks> This is a conveni
deps/protobuf/csharp/src/Google.Protobuf/Reflection/TypeRegistry.cs:113
↓ 17 callersMethodFromString
(cls, s)
deps/protobuf/python/google/protobuf/message.py:363
↓ 17 callersFunctionGetMap
deps/protobuf/python/google/protobuf/pyext/map_container.cc:306
↓ 17 callersMethodGetProperty
<summary> Returns a representation of the public property associated with the given name in the given type, including inherited properties or null if
deps/protobuf/csharp/src/Google.Protobuf/Compatibility/TypeExtensions.cs:62
↓ 17 callersMethodGetValue
()
deps/protobuf/csharp/src/Google.Protobuf/ExtensionValue.cs:119
↓ 17 callersFunctionIgnoreField
deps/protobuf/src/google/protobuf/compiler/js/js_generator.cc:443
↓ 17 callersFunctionMerge
Parses a text representation of a protocol message into a message. Like Parse(), but allows repeated values for a non-repeated field, and uses th
deps/protobuf/python/google/protobuf/text_format.py:690
↓ 17 callersFunctionQualifiedClassName
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:330
← previousnext →701–800 of 41,379, ranked by callers