MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 32 callersMethodCompareToGoldenText
(self, text, golden_text)
deps/protobuf/python/google/protobuf/internal/text_format_test.py:84
↓ 32 callersMethodGetNameResolver
deps/protobuf/src/google/protobuf/compiler/java/java_context.cc:52
↓ 32 callersMethodcall
deps/pybind11/include/pybind11/cast.h:1821
↓ 32 callersFunctioncheckCriticalElementIndex
* Ensures that `index` specifies a valid element in an indexable object of * size `size`. A element index may range from zero to size, exclusive. *
deps/protobuf/js/experimental/runtime/internal/checks.js:182
↓ 32 callersMethodeach
deps/protobuf/ruby/lib/google/protobuf/well_known_types.rb:219
↓ 32 callersMethodgetFields
Get a list of this message type's fields.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:715
↓ 32 callersMethodgetRepeatedField
Gets an element of a repeated field. For primitive fields, the boxed primitive value is returned. For enum fields, the EnumValueDescriptor for the val
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageOrBuilder.java:129
↓ 32 callersFunctionimport
Import and return a module or throws `error_already_set`.
deps/pybind11/include/pybind11/pybind11.h:1278
↓ 32 callersMethodisAtEnd
Returns true if the stream has reached the end of the input. This is the case if either the end of the underlying input source has been reached or if
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedInputStream.java:496
↓ 32 callersMethodlookup
(ThreadContext context, IRubyObject recv, IRubyObject number)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyEnum.java:48
↓ 32 callersMethodserializeToJsonString
* Serialize the message to json string. * @return string Serialized json protobuf data. */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:1571
↓ 32 callersMethodset_outputs
outputs: list[Var]
coremltools/converters/mil/mil/block.py:406
↓ 32 callersMethodsize
Gets the number of bytes. @return size in bytes
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:228
↓ 32 callersMethodview
Create a view of an array in a different data type. This function may fundamentally reinterpret the data in the array. It is the responsibility of the
deps/pybind11/include/pybind11/numpy.h:1085
↓ 31 callersFunctionClear
deps/protobuf/src/google/protobuf/implicit_weak_message.h:70
↓ 31 callersFunctionDataPiece
Constructors and Destructor
deps/protobuf/src/google/protobuf/util/internal/datapiece.h:79
↓ 31 callersMethodGetMessage
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:858
↓ 31 callersMethodReadMessage
<summary> Reads an embedded message field value from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:247
↓ 31 callersMethodWriteTo
(pb::CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestIssues.cs:178
↓ 31 callersFunctionassert_input_dtype
(mlmodel, expected_type_str, expected_name=None, index=0)
coremltools/converters/mil/testing_utils.py:714
↓ 31 callersMethodbegin
return iterator begin (needed for range-based for)
deps/nlohmann/json.hpp:4226
↓ 31 callersMethodgetFieldWithDefault_
* Returns data for a field specified by the given field number. Also cache * the data if it doesn't already exist in the cache. When no data is
deps/protobuf/js/experimental/runtime/kernel/kernel.js:440
↓ 31 callersMethodgetLong
Like {@link #get(int)} but more efficient in that it doesn't box the returned value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:634
↓ 31 callersMethodgetNanos
* Signed fractions of a second at nanosecond resolution of the span * of time. Durations less than one second are represented with a 0 * `se
deps/protobuf/php/src/Google/Protobuf/Duration.php:147
↓ 31 callersFunctionget_test_model_and_data
Prepare test model and data. :param multi_layer: If set, the test model will have multiple `nn.Conv2d` layers. :param quantize_config: I
coremltools/test/ml_program/test_compression.py:22
↓ 31 callersMethodinsert
( self, keys: List[K], value: V, )
coremltools/models/ml_program/experimental/debugging_utils.py:55
↓ 31 callersMethodnegativeSize
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java:114
↓ 31 callersMethodonChanged
Called when a the builder or one of its nested children has changed and any parent should be notified of its invalidation.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:696
↓ 31 callersMethodprepare
Prepares the model for quantization aware training by inserting :py:class:`torch.ao.quantization.FakeQuantize` layers in the model in
coremltools/optimize/torch/quantization/quantizer.py:208
↓ 31 callersMethodset_name
deps/protobuf/src/google/protobuf/api.pb.h:757
↓ 31 callersMethodunique
(cls, sequence: List)
coremltools/optimize/coreml/experimental/_model_debugger.py:57
↓ 30 callersMethodByteSize
(self)
deps/protobuf/python/google/protobuf/internal/wire_format_test.py:202
↓ 30 callersMethodData
mlmodel/src/MILBlob/Util/Span.hpp:269
↓ 30 callersMethodGetPrototype
deps/protobuf/src/google/protobuf/message.cc:274
↓ 30 callersMethodGetString
deps/protobuf/src/google/protobuf/generated_message_reflection.cc:1588
↓ 30 callersFunctionHasHazzer
deps/protobuf/src/google/protobuf/compiler/java/java_helpers.h:369
↓ 30 callersMethodReadInt32
<summary> Reads an int32 field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:203
↓ 30 callersMethodReadVarint32
deps/protobuf/src/google/protobuf/io/coded_stream.h:1305
↓ 30 callersMethodSwap
deps/protobuf/src/google/protobuf/map_field.cc:80
↓ 30 callersFunctionWriteFieldAccessorDocComment
deps/protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc:205
↓ 30 callersFunctiondescriptor
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:152
↓ 30 callersMethodequal
deps/pybind11/include/pybind11/pytypes.h:1315
↓ 30 callersMethodinvokeOrDie
Calls invoke and throws a RuntimeException if it fails.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessage.java:1979
↓ 30 callersMethodmap_entry
deps/protobuf/src/google/protobuf/descriptor.pb.h:13001
↓ 30 callersMethodnewBuilder
Helper method for creating a new builder for {@link MessageInfo}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/StructuralMessageInfo.java:101
↓ 30 callersFunctionsort
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:6748
↓ 30 callersFunctionvalidateModelDescription
mlmodel/src/Validation/InterfaceValidators.cpp:531
↓ 30 callersMethodwithSyntax
(ProtoSyntax syntax)
deps/protobuf/java/core/src/main/java/com/google/protobuf/StructuralMessageInfo.java:131
↓ 29 callersMethodClear
deps/protobuf/python/google/protobuf/pyext/descriptor_pool.cc:85
↓ 29 callersMethodCreateFullTestAllTypes
<summary> Creates a new sample TestAllTypes message with all fields populated. The "oneof" field is populated with the string property (OneofString).
deps/protobuf/csharp/src/Google.Protobuf.Test/SampleMessages.cs:50
↓ 29 callersMethodFindMessageTypeByName
Loads the named descriptor from the pool. Args: full_name (str): The full name of the descriptor to load. Returns: Descriptor: T
deps/protobuf/python/google/protobuf/descriptor_pool.py:501
↓ 29 callersFunctionGetMessagePath
Returns the fully normalized JavaScript path for the given message descriptor.
deps/protobuf/src/google/protobuf/compiler/js/js_generator.cc:202
↓ 29 callersFunctionStringReplace
deps/protobuf/src/google/protobuf/stubs/strutil.cc:132
↓ 29 callersFunctionSubstitute
deps/protobuf/src/google/protobuf/stubs/substitute.cc:55
↓ 29 callersFunction_macos_version
Returns macOS version as a tuple of integers, making it easy to do proper version comparisons. On non-Macs, it returns an empty tuple.
coremltools/models/utils.py:960
↓ 29 callersFunctionbuildBasicNeuralNetworkModel
mlmodel/tests/ModelCreationUtils.cpp:21
↓ 29 callersMethodctype
deps/protobuf/src/google/protobuf/descriptor.pb.h:13073
↓ 29 callersMethodend
return iterator end (needed for range-based for)
deps/nlohmann/json.hpp:4232
↓ 29 callersMethodfind_last_of
deps/protobuf/src/google/protobuf/stubs/stringpiece.cc:195
↓ 29 callersMethodgetTagFieldNumber
Given a tag value, determines the field number (the upper 29 bits).
deps/protobuf/java/core/src/main/java/com/google/protobuf/WireFormat.java:71
↓ 29 callersMethodhasNext
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:180
↓ 29 callersMethodintersect
mlmodel/src/LayerShapeConstraints.cpp:490
↓ 29 callersMethodisUnbound
mlmodel/src/LayerShapeConstraints.cpp:31
↓ 29 callersFunctioniter
deps/pybind11/include/pybind11/pytypes.h:2475
↓ 29 callersMethodkind
deps/protobuf/src/google/protobuf/type.pb.h:1708
↓ 29 callersMethodreadVarint32
Read a raw Varint from the stream. If larger than 32 bits, discard the upper bits.
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryReader.java:1494
↓ 29 callersFunctionupb_encode
deps/protobuf/php/ext/google/protobuf/php-upb.h:1953
↓ 29 callersFunctionupb_encode
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1957
↓ 29 callersFunctionupb_msgdef_itof
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4980
↓ 29 callersMethodwriteTag
(int fieldNumber, int wireType)
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:230
↓ 28 callersFunctionArena_get
deps/protobuf/ruby/ext/google/protobuf_c/protobuf.c:201
↓ 28 callersMethodContains
<summary> Determines whether map contains an entry equivalent to the given key/value pair. </summary> <param name="item">The key/value pair to find.</
deps/protobuf/csharp/src/Google.Protobuf/Collections/MapField.cs:295
↓ 28 callersFunctionHasHasbit
deps/protobuf/src/google/protobuf/compiler/java/java_helpers.h:375
↓ 28 callersFunctionIsFieldStripped
Returns true if "field" is stripped.
deps/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:371
↓ 28 callersFunctionWriteTag
deps/protobuf/src/google/protobuf/io/coded_stream.h:875
↓ 28 callersMethodadd_function
(self, name, ssa_func)
coremltools/converters/mil/mil/program.py:207
↓ 28 callersMethodcompare
(self, specification_modified=True)
coremltools/test/neural_network/test_quantization.py:65
↓ 28 callersMethodconcatenate
Concatenate the given strings while performing various optimizations to slow the growth rate of tree depth and tree node count. The result is either a
deps/protobuf/java/core/src/main/java/com/google/protobuf/RopeByteString.java:167
↓ 28 callersMethodflush
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:3888
↓ 28 callersFunctionget
deps/nlohmann/json.hpp:4241
↓ 28 callersMethodgetFieldNumber
Gets the field number for the current field being read. <p>TODO(liujisi): Rename it to make it more explicit about the side effect on the underlying
deps/protobuf/java/core/src/main/java/com/google/protobuf/Reader.java:57
↓ 28 callersMethodgetObject
(Object target, long offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:167
↓ 28 callersMethodinitialize
(self)
coremltools/test/neural_network/test_quantization.py:36
↓ 28 callersMethodinvokeOrDie
Calls invoke and throws a RuntimeException if it fails.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:1853
↓ 28 callersFunctionjsondec_err
deps/protobuf/php/ext/google/protobuf/php-upb.c:7408
↓ 28 callersFunctionjsondec_err
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7023
↓ 28 callersMethodmap
Defines a new map field on this message type with the given key and value types, tag number, and type class (for message and enum value types). The ke
deps/protobuf/ruby/lib/google/protobuf/descriptor_dsl.rb:318
↓ 28 callersMethodseconds
deps/protobuf/src/google/protobuf/duration.pb.h:241
↓ 28 callersMethodsetName
mlmodel/src/LayerShapeConstraints.cpp:701
↓ 28 callersFunctionupb_fielddef_msgsubdef
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4906
↓ 28 callersFunctionupb_fielddef_type
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4747
↓ 28 callersFunctionupb_symtab_lookupmsg
deps/protobuf/php/ext/google/protobuf/php-upb.c:5674
↓ 28 callersMethodvalue
mlmodel/src/LayerShapeConstraints.cpp:25
↓ 27 callersMethodAddVarint
deps/protobuf/src/google/protobuf/unknown_field_set.cc:135
↓ 27 callersMethodGetOwningArena
deps/protobuf/src/google/protobuf/message.cc:391
↓ 27 callersFunctionInvalidArgumentError
deps/protobuf/src/google/protobuf/stubs/status.cc:223
↓ 27 callersMethodMergeFrom
(FileOptions other)
deps/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs:6089
↓ 27 callersMethodReadUInt64
<summary> Reads a uint64 field from the input. </summary>
deps/protobuf/csharp/src/Google.Protobuf/ParseContext.cs:185
↓ 27 callersFunctionSplit
---------------------------------------------------------------------- Split() Split a string using a character delimiter. ---------------------------
deps/protobuf/src/google/protobuf/stubs/strutil.h:238
↓ 27 callersMethodTestAllExtensions
()
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/Unittest.cs:6384
← previousnext →401–500 of 41,379, ranked by callers