name string | code string | asm string | file string |
|---|---|---|---|
CoreML::Specification::Optimizer::mutable_adamoptimizer() | inline ::CoreML::Specification::AdamOptimizer* Optimizer::mutable_adamoptimizer() {
if (!has_adamoptimizer()) {
clear_OptimizerType();
set_has_adamoptimizer();
OptimizerType_.adamoptimizer_ = new ::CoreML::Specification::AdamOptimizer;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.O... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x901b0
testb $0x1, %al
jne 0x8e2f4
movq -0x20(%rbp), %rdi
callq 0x1fab50
movq -0x20(%rbp), %rdi
callq 0x901e0
movl $0x40, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
CoreML::Specification::AdamOptimizer::mutable_beta1() | inline ::CoreML::Specification::DoubleParameter* AdamOptimizer::mutable_beta1() {
if (beta1_ == NULL) {
beta1_ = new ::CoreML::Specification::DoubleParameter;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.AdamOptimizer.beta1)
return beta1_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, 0x20(%rax)
jne 0x8e370
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq 0x248610
jmp 0x8e346
movq -0x20(%rbp), %rax
movq -0x28(%rbp), %rcx
movq %rcx, 0x20(... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
CoreML::Specification::AdamOptimizer::mutable_beta2() | inline ::CoreML::Specification::DoubleParameter* AdamOptimizer::mutable_beta2() {
if (beta2_ == NULL) {
beta2_ = new ::CoreML::Specification::DoubleParameter;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.AdamOptimizer.beta2)
return beta2_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, 0x28(%rax)
jne 0x8e3f0
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq 0x248610
jmp 0x8e3c6
movq -0x20(%rbp), %rax
movq -0x28(%rbp), %rcx
movq %rcx, 0x28(... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
CoreML::Specification::AdamOptimizer::mutable_eps() | inline ::CoreML::Specification::DoubleParameter* AdamOptimizer::mutable_eps() {
if (eps_ == NULL) {
eps_ = new ::CoreML::Specification::DoubleParameter;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.AdamOptimizer.eps)
return eps_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, 0x30(%rax)
jne 0x8e470
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq 0x248610
jmp 0x8e446
movq -0x20(%rbp), %rax
movq -0x28(%rbp), %rcx
movq %rcx, 0x30(... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
void addEpochs<CoreML::Specification::NeuralNetwork>(CoreML::Specification::NeuralNetwork*, long, long, long, std::set<long, std::less<long>, std::allocator<long>>) | void addEpochs(NeuralNetworkClass *nn, int64_t defaultValue, int64_t minValue, int64_t maxValue, std::set<int64_t> allowedValues) {
auto updateParameters = nn->mutable_updateparams();
auto epochs = updateParameters->mutable_epochs();
epochs->set_defaultvalue(defaultValue);
if (allowedVal... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %r8, -0x70(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x8df80
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8ee40
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
void addLearningRate<CoreML::Specification::NeuralNetworkClassifier>(CoreML::Specification::NeuralNetworkClassifier*, CoreML::Specification::Optimizer::OptimizerTypeCase, double, double, double) | void addLearningRate(NeuralNetworkClass *nn, Specification::Optimizer::OptimizerTypeCase optimizerType, double defaultValue, double minValue, double maxValue) {
auto updateParameters = nn->mutable_updateparams();
auto optimizer = updateParameters->mutable_optimizer();
Specification::DoubleParameter *... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
movsd %xmm2, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x8ea50
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8e000
movq %rax, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
movl -0xc(%rbp)... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
CoreML::Specification::SGDOptimizer::mutable_minibatchsize() | inline ::CoreML::Specification::Int64Parameter* SGDOptimizer::mutable_minibatchsize() {
if (minibatchsize_ == NULL) {
minibatchsize_ = new ::CoreML::Specification::Int64Parameter;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.SGDOptimizer.miniBatchSize)
return minibatchsize_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, 0x18(%rax)
jne 0x8eb30
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq 0x2477f0
jmp 0x8eb06
movq -0x20(%rbp), %rax
movq -0x28(%rbp), %rcx
movq %rcx, 0x18(... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
void addMiniBatchSize<CoreML::Specification::NeuralNetworkClassifier>(CoreML::Specification::NeuralNetworkClassifier*, CoreML::Specification::Optimizer::OptimizerTypeCase, long, long, long, std::set<long, std::less<long>, std::allocator<long>>) | void addMiniBatchSize(NeuralNetworkClass *nn, Specification::Optimizer::OptimizerTypeCase optimizerType, int64_t defaultValue, int64_t minValue, int64_t maxValue, std::set<int64_t> allowedValues) {
auto updateParameters = nn->mutable_updateparams();
auto optimizer = updateParameters->mutable_optimizer();
... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %r9, -0x88(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rdi
callq 0x8ea50
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
callq 0x8e000
movq %rax, -0x40(%rbp)
m... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
void addEpochs<CoreML::Specification::NeuralNetworkClassifier>(CoreML::Specification::NeuralNetworkClassifier*, long, long, long, std::set<long, std::less<long>, std::allocator<long>>) | void addEpochs(NeuralNetworkClass *nn, int64_t defaultValue, int64_t minValue, int64_t maxValue, std::set<int64_t> allowedValues) {
auto updateParameters = nn->mutable_updateparams();
auto epochs = updateParameters->mutable_epochs();
epochs->set_defaultvalue(defaultValue);
if (allowedVal... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %r8, -0x70(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x8ea50
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8ee40
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
void addShuffleAndSeed<CoreML::Specification::NeuralNetwork>(CoreML::Specification::NeuralNetwork*, long, long, long, std::set<long, std::less<long>, std::allocator<long>>) | void addShuffleAndSeed(NeuralNetworkClass *nn, int64_t defaultValue, int64_t minValue, int64_t maxValue, std::set<int64_t> allowedValues) {
auto updateParameters = nn->mutable_updateparams();
auto shuffle = updateParameters->mutable_shuffle();
shuffle->set_defaultvalue(true);
auto shuffleSeed = update... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %r8, -0x78(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x8df80
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8f0e0
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
CoreML::Specification::NetworkUpdateParameters::mutable_shuffle() | inline ::CoreML::Specification::BoolParameter* NetworkUpdateParameters::mutable_shuffle() {
if (shuffle_ == NULL) {
shuffle_ = new ::CoreML::Specification::BoolParameter;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.NetworkUpdateParameters.shuffle)
return shuffle_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, 0x38(%rax)
jne 0x8f140
movl $0x18, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq 0x249ed0
jmp 0x8f116
movq -0x20(%rbp), %rax
movq -0x28(%rbp), %rcx
movq %rcx, 0x38(... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
void addShuffleAndSeed<CoreML::Specification::NeuralNetworkClassifier>(CoreML::Specification::NeuralNetworkClassifier*, long, long, long, std::set<long, std::less<long>, std::allocator<long>>) | void addShuffleAndSeed(NeuralNetworkClass *nn, int64_t defaultValue, int64_t minValue, int64_t maxValue, std::set<int64_t> allowedValues) {
auto updateParameters = nn->mutable_updateparams();
auto shuffle = updateParameters->mutable_shuffle();
shuffle->set_defaultvalue(true);
auto shuffleSeed = update... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %r8, -0x78(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x8ea50
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8f0e0
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
void addCategoricalCrossEntropyLoss<CoreML::Specification::NeuralNetwork>(CoreML::Specification::Model&, CoreML::Specification::NeuralNetwork*, char const*, char const*, char const*) | void addCategoricalCrossEntropyLoss(Specification::Model& m, NeuralNetworkClass *nn, const char *lossName, const char *softmaxInputName, const char *targetName) {
Specification::NetworkUpdateParameters *updateParams = nn->mutable_updateparams();
Specification::LossLayer *lossLayer = updateParams->add_losslayer... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0x8df80
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8f400
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %r... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
CoreML::Specification::LossLayer::set_name(char const*) | inline void LossLayer::set_name(const char* value) {
GOOGLE_DCHECK(value != NULL);
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:CoreML.Specification.LossLayer.name)
} | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, -0x49(%rbp)
cmpq $0x0, %rax
je 0x8f44e
jmp 0x8f4a3
leaq 0x332c9a(%rip), %rdx # 0x3c20ef
leaq -0x48(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movl $0x3, %esi... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
CoreML::Specification::LossLayer::mutable_categoricalcrossentropylosslayer() | inline ::CoreML::Specification::CategoricalCrossEntropyLossLayer* LossLayer::mutable_categoricalcrossentropylosslayer() {
if (!has_categoricalcrossentropylosslayer()) {
clear_LossLayerType();
set_has_categoricalcrossentropylosslayer();
LossLayerType_.categoricalcrossentropylosslayer_ = new ::CoreML::Speci... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x91120
testb $0x1, %al
jne 0x8f614
movq -0x20(%rbp), %rdi
callq 0x1f7e20
movq -0x20(%rbp), %rdi
callq 0x91150
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
CoreML::Specification::CategoricalCrossEntropyLossLayer::set_input(char const*) | inline void CategoricalCrossEntropyLossLayer::set_input(const char* value) {
GOOGLE_DCHECK(value != NULL);
input_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:CoreML.Specification.CategoricalCrossEntropyLossLayer.inpu... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, -0x49(%rbp)
cmpq $0x0, %rax
je 0x8f65e
jmp 0x8f6b3
leaq 0x332a8a(%rip), %rdx # 0x3c20ef
leaq -0x48(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movl $0x3, %esi... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
CoreML::Specification::CategoricalCrossEntropyLossLayer::set_target(char const*) | inline void CategoricalCrossEntropyLossLayer::set_target(const char* value) {
GOOGLE_DCHECK(value != NULL);
target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:CoreML.Specification.CategoricalCrossEntropyLossLayer.ta... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, -0x49(%rbp)
cmpq $0x0, %rax
je 0x8f7de
jmp 0x8f833
leaq 0x33290a(%rip), %rdx # 0x3c20ef
leaq -0x48(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movl $0x3, %esi... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
void addCategoricalCrossEntropyLoss<CoreML::Specification::NeuralNetworkClassifier>(CoreML::Specification::Model&, CoreML::Specification::NeuralNetworkClassifier*, char const*, char const*, char const*) | void addCategoricalCrossEntropyLoss(Specification::Model& m, NeuralNetworkClass *nn, const char *lossName, const char *softmaxInputName, const char *targetName) {
Specification::NetworkUpdateParameters *updateParams = nn->mutable_updateparams();
Specification::LossLayer *lossLayer = updateParams->add_losslayer... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0x8ea50
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8f400
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %r... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
void addMeanSquareError<CoreML::Specification::NeuralNetwork>(CoreML::Specification::Model&, CoreML::Specification::NeuralNetwork*, char const*, char const*, char const*) | void addMeanSquareError(Specification::Model& m, NeuralNetworkClass *nn, const char *lossName, const char *mseInputName, const char *targetName) {
// set a MSE loss layer
Specification::NetworkUpdateParameters *updateParams = nn->mutable_updateparams();
Specification::LossLayer *lossLayer = updateParams->a... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0x8df80
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8f400
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %r... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
CoreML::Specification::LossLayer::mutable_meansquarederrorlosslayer() | inline ::CoreML::Specification::MeanSquaredErrorLossLayer* LossLayer::mutable_meansquarederrorlosslayer() {
if (!has_meansquarederrorlosslayer()) {
clear_LossLayerType();
set_has_meansquarederrorlosslayer();
LossLayerType_.meansquarederrorlosslayer_ = new ::CoreML::Specification::MeanSquaredErrorLossLayer... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x911b0
testb $0x1, %al
jne 0x8fc14
movq -0x20(%rbp), %rdi
callq 0x1f7e20
movq -0x20(%rbp), %rdi
callq 0x911e0
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
CoreML::Specification::MeanSquaredErrorLossLayer::set_input(char const*) | inline void MeanSquaredErrorLossLayer::set_input(const char* value) {
GOOGLE_DCHECK(value != NULL);
input_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:CoreML.Specification.MeanSquaredErrorLossLayer.input)
} | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, -0x49(%rbp)
cmpq $0x0, %rax
je 0x8fc5e
jmp 0x8fcb3
leaq 0x33248a(%rip), %rdx # 0x3c20ef
leaq -0x48(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movl $0x3, %esi... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
CoreML::Specification::MeanSquaredErrorLossLayer::set_target(char const*) | inline void MeanSquaredErrorLossLayer::set_target(const char* value) {
GOOGLE_DCHECK(value != NULL);
target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:CoreML.Specification.MeanSquaredErrorLossLayer.target)
} | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, -0x49(%rbp)
cmpq $0x0, %rax
je 0x8fdde
jmp 0x8fe33
leaq 0x33230a(%rip), %rdx # 0x3c20ef
leaq -0x48(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movl $0x3, %esi... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/NeuralNetwork.pb.h |
void addMeanSquareError<CoreML::Specification::NeuralNetworkClassifier>(CoreML::Specification::Model&, CoreML::Specification::NeuralNetworkClassifier*, char const*, char const*, char const*) | void addMeanSquareError(Specification::Model& m, NeuralNetworkClass *nn, const char *lossName, const char *mseInputName, const char *targetName) {
// set a MSE loss layer
Specification::NetworkUpdateParameters *updateParams = nn->mutable_updateparams();
Specification::LossLayer *lossLayer = updateParams->a... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0x8ea50
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
callq 0x8f400
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %r... | /hollance[P]coremltools/mlmodel/tests/ParameterTests.cpp |
google::protobuf::RepeatedPtrField<CoreML::Specification::LossLayer>::TypeHandler::Type* google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrField<CoreML::Specification::LossLayer>::TypeHandler>(google::protobuf::RepeatedPtrField<CoreML::Specification::LossLayer>::TypeHandler::Type*) | inline typename TypeHandler::Type* RepeatedPtrFieldBase::Add(
typename TypeHandler::Type* prototype) {
if (rep_ != NULL && current_size_ < rep_->allocated_size) {
return cast<TypeHandler>(rep_->elements[current_size_++]);
}
if (!rep_ || rep_->allocated_size == total_size_) {
Reserve(total_size_ + 1);
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, 0x10(%rax)
je 0x90f84
movq -0x28(%rbp), %rcx
movl 0x8(%rcx), %eax
movq 0x10(%rcx), %rcx
cmpl (%rcx), %eax
jge 0x90f84
movq -0x28(%rbp), %rdx
movq 0x10(%rdx), %rax
movl 0x8(%... | /hollance[P]coremltools/mlmodel/../deps/protobuf/src/google/protobuf/repeated_field.h |
google::protobuf::internal::GenericTypeHandler<CoreML::Specification::LossLayer>::New(google::protobuf::Arena*) | static inline GenericType* New(Arena* arena) {
return ::google::protobuf::Arena::CreateMaybeMessage<Type>(
arena, static_cast<GenericType*>(0));
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x9109b
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x50(%rbp)
callq 0x1f74e0
jmp 0x9106e
movq -0x50(%r... | /hollance[P]coremltools/mlmodel/../deps/protobuf/src/google/protobuf/repeated_field.h |
testOneHotEncoderBasic() | int testOneHotEncoderBasic() {
OneHotEncoder ohe;
/* Asserts that the type provided is allowed as a feature type by a new
one hot encoder appended to a model asset named "a". */
ohe = OneHotEncoder();
ML_ASSERT_GOOD(ohe.addInput("Int64", FeatureType::Int64()));
ohe = OneHotEncoder();
ML_A... | pushq %rbp
movq %rsp, %rbp
subq $0x290, %rsp # imm = 0x290
leaq -0x41(%rbp), %rdi
movq %rdi, -0x1e8(%rbp)
callq 0x37930
movq -0x1e8(%rbp), %rdx
leaq 0x358a48(%rip), %rsi # 0x3ea2a1
leaq -0x40(%rbp), %rdi
callq 0x3f680
jmp 0x91864
leaq -0x20(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x295050
jmp 0x91873
lea... | /hollance[P]coremltools/mlmodel/tests/OneHotEncoderTests.cpp |
testBasicSaveLoad() | int testBasicSaveLoad () {
Result r;
const std::string path("/tmp/a.modelasset");
OneHotEncoder ohe;
ML_ASSERT_GOOD(ohe.addInput("foo", FeatureType::String()));
ohe.getProto().mutable_onehotencoder()->mutable_stringcategories()->add_vector()->assign("foo");
ML_ASSERT_GOOD(ohe.addOutput("bar... | pushq %rbp
movq %rsp, %rbp
subq $0x390, %rsp # imm = 0x390
leaq -0x30(%rbp), %rdi
callq 0x283e80
leaq -0x51(%rbp), %rdi
movq %rdi, -0x200(%rbp)
callq 0x37930
movq -0x200(%rbp), %rdx
leaq 0x33012f(%rip), %rsi # 0x3c2261
leaq -0x50(%rbp), %rdi
callq 0x3f680
jmp 0x9213d
leaq -0x51(%rbp), %rdi
callq 0x37b20
l... | /hollance[P]coremltools/mlmodel/tests/SaveLoadTests.cpp |
CoreML::Specification::Model::mutable_onehotencoder() | inline ::CoreML::Specification::OneHotEncoder* Model::mutable_onehotencoder() {
if (!has_onehotencoder()) {
clear_Type();
set_has_onehotencoder();
Type_.onehotencoder_ = new ::CoreML::Specification::OneHotEncoder;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.Model.oneHotEncoder)
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x92d60
testb $0x1, %al
jne 0x92c14
movq -0x20(%rbp), %rdi
callq 0x135940
movq -0x20(%rbp), %rdi
callq 0x92d90
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/Model.pb.h |
CoreML::Specification::OneHotEncoder::mutable_stringcategories() | inline ::CoreML::Specification::StringVector* OneHotEncoder::mutable_stringcategories() {
if (!has_stringcategories()) {
clear_CategoryType();
set_has_stringcategories();
CategoryType_.stringcategories_ = new ::CoreML::Specification::StringVector;
}
// @@protoc_insertion_point(field_mutable:CoreML.Spe... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x92db0
testb $0x1, %al
jne 0x92ca4
movq -0x20(%rbp), %rdi
callq 0x246750
movq -0x20(%rbp), %rdi
callq 0x92de0
movl $0x30, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/OneHotEncoder.pb.h |
CoreML::Specification::Model::mutable_soundanalysispreprocessing() | inline ::CoreML::Specification::CoreMLModels::SoundAnalysisPreprocessing* Model::mutable_soundanalysispreprocessing() {
if (!has_soundanalysispreprocessing()) {
clear_Type();
set_has_soundanalysispreprocessing();
Type_.soundanalysispreprocessing_ = new ::CoreML::Specification::CoreMLModels::SoundAnalysisP... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x94060
testb $0x1, %al
jne 0x93f64
movq -0x20(%rbp), %rdi
callq 0x135940
movq -0x20(%rbp), %rdi
callq 0x94090
movl $0x20, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/Model.pb.h |
CoreML::Specification::CoreMLModels::SoundAnalysisPreprocessing::mutable_vggish() | inline ::CoreML::Specification::CoreMLModels::SoundAnalysisPreprocessing_Vggish* SoundAnalysisPreprocessing::mutable_vggish() {
if (!has_vggish()) {
clear_SoundAnalysisPreprocessingType();
set_has_vggish();
SoundAnalysisPreprocessingType_.vggish_ = new ::CoreML::Specification::CoreMLModels::SoundAnalysisP... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x940b0
testb $0x1, %al
jne 0x93ff4
movq -0x20(%rbp), %rdi
callq 0x25efd0
movq -0x20(%rbp), %rdi
callq 0x940e0
movl $0x18, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/tests/../src/../build/format/SoundAnalysisPreprocessing.pb.h |
testInvalidModelMultipleLoss() | int testInvalidModelMultipleLoss() {
// This test creates the following model. This is an invalid case as a model with multiple losses is not supported
// ----- -- ----- -- ---
// |Dense| -- > |SM| --> |Dense| --> |SM| --> |CCE|
// ----- -- ----- -... | pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp # imm = 0x190
leaq -0x38(%rbp), %rdi
movq %rdi, -0x110(%rbp)
callq 0x134990
movq -0x110(%rbp), %rdi
callq 0xd6640
movq %rax, -0x108(%rbp)
jmp 0x9c6c0
movq -0x108(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq 0x3262f0(%rip), %rsi # 0x3c29c2
leaq 0x34cff6(%rip), %rdx ... | /hollance[P]coremltools/mlmodel/tests/UpdatableModelValidatorTests.cpp |
testNonUpdatablePipelineWithOneUpdatableModel() | int testNonUpdatablePipelineWithOneUpdatableModel() {
Specification::Model spec;
Result res;
TensorAttributes tensorAttributesA = { "A", 3 };
TensorAttributes tensorAttributesB = { "B", 1 };
TensorAttributes tensorAttributesC = { "C", 1 };
TensorAttributes tensorAttributesD = { "D", 3 };
a... | pushq %rbp
movq %rsp, %rbp
subq $0x340, %rsp # imm = 0x340
leaq -0x38(%rbp), %rdi
callq 0x134990
leaq -0x60(%rbp), %rdi
callq 0x283e80
jmp 0xa08df
movups 0x482202(%rip), %xmm0 # 0x522ae8
movaps %xmm0, -0x80(%rbp)
movups 0x482207(%rip), %xmm0 # 0x522af8
movaps %xmm0, -0x90(%rbp)
movups 0x482209(%rip), %xm... | /hollance[P]coremltools/mlmodel/tests/UpdatableModelValidatorTests.cpp |
testUpdatablePipelineWithNonUpdatableModels() | int testUpdatablePipelineWithNonUpdatableModels() {
Specification::Model spec;
Result res;
TensorAttributes tensorAttributesA = { "A", 3 };
TensorAttributes tensorAttributesB = { "B", 1 };
TensorAttributes tensorAttributesC = { "C", 1 };
TensorAttributes tensorAttributesD = { "D", 3 };
aut... | pushq %rbp
movq %rsp, %rbp
subq $0x340, %rsp # imm = 0x340
leaq -0x38(%rbp), %rdi
callq 0x134990
leaq -0x60(%rbp), %rdi
callq 0x283e80
jmp 0xa1adf
movups 0x481082(%rip), %xmm0 # 0x522b68
movaps %xmm0, -0x80(%rbp)
movups 0x481087(%rip), %xmm0 # 0x522b78
movaps %xmm0, -0x90(%rbp)
movups 0x481089(%rip), %xm... | /hollance[P]coremltools/mlmodel/tests/UpdatableModelValidatorTests.cpp |
testInvalid_NoTrainingInputs() | int testInvalid_NoTrainingInputs() {
Specification::Model spec;
Result res;
TensorAttributes tensorAttributesIn = { "InTensor", 3 };
TensorAttributes tensorAttributesOut = { "OutTensor", 1 };
(void)buildBasicNeuralNetworkModel(spec, true, &tensorAttributesIn, &tensorAttributesOut, 1024);
spec.s... | pushq %rbp
movq %rsp, %rbp
subq $0x330, %rsp # imm = 0x330
leaq -0x38(%rbp), %rdi
callq 0x134990
leaq -0x60(%rbp), %rdi
callq 0x283e80
jmp 0xa3f6f
movups 0x47ed12(%rip), %xmm0 # 0x522c88
movaps %xmm0, -0x80(%rbp)
movups 0x47ed17(%rip), %xmm0 # 0x522c98
movaps %xmm0, -0x90(%rbp)
movq %rsp, %rax
movl $0x0,... | /hollance[P]coremltools/mlmodel/tests/UpdatableModelValidatorTests.cpp |
testInvalid_OnlyModelInputs() | int testInvalid_OnlyModelInputs() {
Specification::Model spec;
Result res;
TensorAttributes tensorAttributesIn = { "InTensor", 3 };
TensorAttributes tensorAttributesOut = { "OutTensor", 1 };
(void)buildBasicNeuralNetworkModel(spec, true, &tensorAttributesIn, &tensorAttributesOut, 1024);
spec.se... | pushq %rbp
movq %rsp, %rbp
subq $0x2c0, %rsp # imm = 0x2C0
leaq -0x38(%rbp), %rdi
callq 0x134990
leaq -0x60(%rbp), %rdi
callq 0x283e80
jmp 0xa471f
movups 0x47e582(%rip), %xmm0 # 0x522ca8
movaps %xmm0, -0x80(%rbp)
movups 0x47e587(%rip), %xmm0 # 0x522cb8
movaps %xmm0, -0x90(%rbp)
movq %rsp, %rax
movl $0x0,... | /hollance[P]coremltools/mlmodel/tests/UpdatableModelValidatorTests.cpp |
testInvalid_OnlyTarget() | int testInvalid_OnlyTarget() {
Specification::Model spec;
Result res;
TensorAttributes tensorAttributesIn = { "InTensor", 3 };
TensorAttributes tensorAttributesOut = { "OutTensor", 1 };
(void)buildBasicNeuralNetworkModel(spec, true, &tensorAttributesIn, &tensorAttributesOut, 1024);
spec.set_spe... | pushq %rbp
movq %rsp, %rbp
subq $0x3a0, %rsp # imm = 0x3A0
leaq -0x38(%rbp), %rdi
callq 0x134990
leaq -0x60(%rbp), %rdi
callq 0x283e80
jmp 0xa4dbf
movups 0x47df02(%rip), %xmm0 # 0x522cc8
movaps %xmm0, -0x80(%rbp)
movups 0x47df07(%rip), %xmm0 # 0x522cd8
movaps %xmm0, -0x90(%rbp)
movq %rsp, %rax
movl $0x0,... | /hollance[P]coremltools/mlmodel/tests/UpdatableModelValidatorTests.cpp |
testInvalid_OnlyTargetAndPredictedFeatureName() | int testInvalid_OnlyTargetAndPredictedFeatureName() {
Specification::Model spec;
Result res;
TensorAttributes tensorAttributesIn = { "InTensor", 3 };
TensorAttributes tensorAttributesOut = { "OutTensor", 1 };
(void)buildBasicNeuralNetworkModel(spec, true, &tensorAttributesIn, &tensorAttributesOut, ... | pushq %rbp
movq %rsp, %rbp
subq $0x490, %rsp # imm = 0x490
leaq -0x38(%rbp), %rdi
callq 0x134990
leaq -0x60(%rbp), %rdi
callq 0x283e80
jmp 0xa625f
movups 0x47caa2(%rip), %xmm0 # 0x522d08
movaps %xmm0, -0x80(%rbp)
movups 0x47caa7(%rip), %xmm0 # 0x522d18
movaps %xmm0, -0x90(%rbp)
movq %rsp, %rax
movl $0x0,... | /hollance[P]coremltools/mlmodel/tests/UpdatableModelValidatorTests.cpp |
testValid_Classifier_PredictedFeatureNameAndTarget() | int testValid_Classifier_PredictedFeatureNameAndTarget() {
Specification::Model spec;
Result res;
TensorAttributes tensorAttributesIn = { "InTensor", 3 };
std::string labels[] = { "1", "2", "3", "4" };
std::vector<std::string> classLabels(labels, labels + sizeof(labels) / sizeof(std::string));
... | pushq %rbp
movq %rsp, %rbp
subq $0x3d0, %rsp # imm = 0x3D0
leaq -0x38(%rbp), %rdi
callq 0x134990
leaq -0x60(%rbp), %rdi
callq 0x283e80
jmp 0xae26f
movups 0x474c12(%rip), %xmm0 # 0x522e88
movaps %xmm0, -0x80(%rbp)
movb $0x1, -0x10d(%rbp)
leaq -0x100(%rbp), %rax
movq %rax, -0x228(%rbp)
movq %rax, -0x108(%rbp... | /hollance[P]coremltools/mlmodel/tests/UpdatableModelValidatorTests.cpp |
CoreML::Specification::PipelineClassifier::mutable_pipeline() | inline ::CoreML::Specification::Pipeline* PipelineClassifier::mutable_pipeline() {
if (pipeline_ == NULL) {
pipeline_ = new ::CoreML::Specification::Pipeline;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.PipelineClassifier.pipeline)
return pipeline_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, 0x10(%rax)
jne 0xb3e50
movl $0x48, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq 0x12d280
jmp 0xb3e26
movq -0x20(%rbp), %rax
movq -0x28(%rbp), %rcx
movq %rcx, 0x10(... | /hollance[P]coremltools/mlmodel/src/../build/format/Model.pb.h |
CoreML::Specification::Model::mutable_glmclassifier() | inline ::CoreML::Specification::GLMClassifier* Model::mutable_glmclassifier() {
if (!has_glmclassifier()) {
clear_Type();
set_has_glmclassifier();
Type_.glmclassifier_ = new ::CoreML::Specification::GLMClassifier;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.Model.glmClassifier)
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0xb4660
testb $0x1, %al
jne 0xb3ee4
movq -0x20(%rbp), %rdi
callq 0x135940
movq -0x20(%rbp), %rdi
callq 0xb4690
movl $0x58, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/Model.pb.h |
CoreML::Specification::GLMClassifier::mutable_stringclasslabels() | inline ::CoreML::Specification::StringVector* GLMClassifier::mutable_stringclasslabels() {
if (!has_stringclasslabels()) {
clear_ClassLabels();
set_has_stringclasslabels();
ClassLabels_.stringclasslabels_ = new ::CoreML::Specification::StringVector;
}
// @@protoc_insertion_point(field_mutable:CoreML.S... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0xb4f90
testb $0x1, %al
jne 0xb4014
movq -0x20(%rbp), %rdi
callq 0x127d80
movq -0x20(%rbp), %rdi
callq 0xb4fc0
movl $0x30, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/GLMClassifier.pb.h |
CoreML::Specification::FeatureType::mutable_sequencetype() | inline ::CoreML::Specification::SequenceFeatureType* FeatureType::mutable_sequencetype() {
if (!has_sequencetype()) {
clear_Type();
set_has_sequencetype();
Type_.sequencetype_ = new ::CoreML::Specification::SequenceFeatureType;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.FeatureTy... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0xb51d0
testb $0x1, %al
jne 0xb4194
movq -0x20(%rbp), %rdi
callq 0x11ed50
movq -0x20(%rbp), %rdi
callq 0xb5200
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/FeatureTypes.pb.h |
CoreML::Specification::SequenceFeatureType::mutable_stringtype() | inline ::CoreML::Specification::StringFeatureType* SequenceFeatureType::mutable_stringtype() {
if (!has_stringtype()) {
clear_Type();
set_has_stringtype();
Type_.stringtype_ = new ::CoreML::Specification::StringFeatureType;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.SequenceFeatu... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0xb5220
testb $0x1, %al
jne 0xb4224
movq -0x20(%rbp), %rdi
callq 0x11ddd0
movq -0x20(%rbp), %rdi
callq 0xb5250
movl $0x18, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/FeatureTypes.pb.h |
CoreML::Specification::SequenceFeatureType::mutable_sizerange() | inline ::CoreML::Specification::SizeRange* SequenceFeatureType::mutable_sizerange() {
if (sizerange_ == NULL) {
sizerange_ = new ::CoreML::Specification::SizeRange;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.SequenceFeatureType.sizeRange)
return sizerange_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, 0x10(%rax)
jne 0xb42a0
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq 0x1157d0
jmp 0xb4276
movq -0x20(%rbp), %rax
movq -0x28(%rbp), %rcx
movq %rcx, 0x10(... | /hollance[P]coremltools/mlmodel/src/../build/format/FeatureTypes.pb.h |
CoreML::Specification::Model::mutable_wordtagger() | inline ::CoreML::Specification::CoreMLModels::WordTagger* Model::mutable_wordtagger() {
if (!has_wordtagger()) {
clear_Type();
set_has_wordtagger();
Type_.wordtagger_ = new ::CoreML::Specification::CoreMLModels::WordTagger;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.Model.wordTag... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0xb52e0
testb $0x1, %al
jne 0xb43c4
movq -0x20(%rbp), %rdi
callq 0x135940
movq -0x20(%rbp), %rdi
callq 0xb5310
movl $0x58, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/Model.pb.h |
CoreML::Specification::CoreMLModels::WordTagger::mutable_stringtags() | inline ::CoreML::Specification::StringVector* WordTagger::mutable_stringtags() {
if (!has_stringtags()) {
clear_Tags();
set_has_stringtags();
Tags_.stringtags_ = new ::CoreML::Specification::StringVector;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification.CoreMLModels.WordTagger.stringTa... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0xb5330
testb $0x1, %al
jne 0xb4594
movq -0x20(%rbp), %rdi
callq 0x26d1e0
movq -0x20(%rbp), %rdi
callq 0xb5360
movl $0x30, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/WordTagger.pb.h |
google::protobuf::RepeatedField<double>::Reserve(int) | void RepeatedField<Element>::Reserve(int new_size) {
if (total_size_ >= new_size) return;
Rep* old_rep = rep_;
Arena* arena = GetArenaNoVirtual();
new_size = std::max(google::protobuf::internal::kMinRepeatedFieldAllocationSize,
std::max(total_size_ * 2, new_size));
GOOGLE_DCHECK_LE(
... | pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp # imm = 0x1E0
movq %rdi, -0xd0(%rbp)
movl %esi, -0xd4(%rbp)
movq -0xd0(%rbp), %rax
movq %rax, -0x168(%rbp)
movl 0x4(%rax), %eax
cmpl -0xd4(%rbp), %eax
jl 0xb4746
jmp 0xb4bcd
movq -0x168(%rbp), %rdi
movq 0x8(%rdi), %rax
movq %rax, -0xe0(%rbp)
callq 0xb4bf0
movq %ra... | /hollance[P]coremltools/mlmodel/../deps/protobuf/src/google/protobuf/repeated_field.h |
google::protobuf::RepeatedPtrField<CoreML::Specification::GLMClassifier_DoubleArray>::TypeHandler::Type* google::protobuf::internal::RepeatedPtrFieldBase::Add<google::protobuf::RepeatedPtrField<CoreML::Specification::GLMClassifier_DoubleArray>::TypeHandler>(google::protobuf::RepeatedPtrField<CoreML::Specification::GLMC... | inline typename TypeHandler::Type* RepeatedPtrFieldBase::Add(
typename TypeHandler::Type* prototype) {
if (rep_ != NULL && current_size_ < rep_->allocated_size) {
return cast<TypeHandler>(rep_->elements[current_size_++]);
}
if (!rep_ || rep_->allocated_size == total_size_) {
Reserve(total_size_ + 1);
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, 0x10(%rax)
je 0xb4df4
movq -0x28(%rbp), %rcx
movl 0x8(%rcx), %eax
movq 0x10(%rcx), %rcx
cmpl (%rcx), %eax
jge 0xb4df4
movq -0x28(%rbp), %rdx
movq 0x10(%rdx), %rax
movl 0x8(%... | /hollance[P]coremltools/mlmodel/../deps/protobuf/src/google/protobuf/repeated_field.h |
google::protobuf::internal::GenericTypeHandler<CoreML::Specification::GLMClassifier_DoubleArray>::New(google::protobuf::Arena*) | static inline GenericType* New(Arena* arena) {
return ::google::protobuf::Arena::CreateMaybeMessage<Type>(
arena, static_cast<GenericType*>(0));
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0xb4f0b
movl $0x28, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x50(%rbp)
callq 0x126d20
jmp 0xb4ede
movq -0x50(%r... | /hollance[P]coremltools/mlmodel/../deps/protobuf/src/google/protobuf/repeated_field.h |
testFileWriterTestsNoAccess() | int testFileWriterTestsNoAccess()
{
std::string fileName = "";
{
AutoDeleteTempFile tmpDir(AutoDeleteTempFile::FileType::DIR);
fileName = tmpDir.GetFilename() + "/weight.wt";
}
ML_ASSERT_THROWS_WITH_MESSAGE(FileWriter(fileName, /* truncateFile */ true), std::runtime_error, "Unable to ope... | pushq %rbp
movq %rsp, %rbp
subq $0x330, %rsp # imm = 0x330
leaq -0x29(%rbp), %rdi
movq %rdi, -0x2b8(%rbp)
callq 0x37930
movq -0x2b8(%rbp), %rdx
leaq 0x334ed8(%rip), %rsi # 0x3ea2a1
leaq -0x28(%rbp), %rdi
callq 0x3f680
jmp 0xb53d4
leaq -0x29(%rbp), %rdi
callq 0x37b20
leaq -0x68(%rbp), %rdi
movl $0x1, %esi
... | /hollance[P]coremltools/mlmodel/tests/MILBlob/FileWriterTests.cpp |
testFileWriterTestsWriteDataWithOffset() | int testFileWriterTestsWriteDataWithOffset()
{
AutoDeleteTempFile tempfile;
// Writing to empty file
{
uint64_t offset = 64;
std::vector<uint8_t> expected{10, 20, 30, 40};
auto expectedSpan = Util::MakeSpan(expected);
{
FileWriter writer(tempfile.GetFilename(), /*... | pushq %rbp
movq %rsp, %rbp
subq $0x450, %rsp # imm = 0x450
leaq -0x30(%rbp), %rdi
callq 0xda440
movq $0x40, -0x38(%rbp)
movb $0xa, -0x64(%rbp)
movb $0x14, -0x63(%rbp)
movb $0x1e, -0x62(%rbp)
movb $0x28, -0x61(%rbp)
leaq -0x64(%rbp), %rax
movq %rax, -0x60(%rbp)
movq $0x4, -0x58(%rbp)
leaq -0x65(%rbp), %rdi
mo... | /hollance[P]coremltools/mlmodel/tests/MILBlob/FileWriterTests.cpp |
testFileWriterTestsOffsetNotAligned() | int testFileWriterTestsOffsetNotAligned()
{
AutoDeleteTempFile tempfile;
// Writing to empty file
{
uint64_t offset = 3;
std::vector<uint8_t> expected{10, 20, 30, 40};
auto expectedSpan = Util::MakeSpan(expected);
FileWriter writer(tempfile.GetFilename(), /* truncateFile */ ... | pushq %rbp
movq %rsp, %rbp
subq $0x370, %rsp # imm = 0x370
leaq -0x30(%rbp), %rdi
callq 0xda440
movq $0x3, -0x38(%rbp)
movb $0xa, -0x64(%rbp)
movb $0x14, -0x63(%rbp)
movb $0x1e, -0x62(%rbp)
movb $0x28, -0x61(%rbp)
leaq -0x64(%rbp), %rax
movq %rax, -0x60(%rbp)
movq $0x4, -0x58(%rbp)
leaq -0x65(%rbp), %rdi
mov... | /hollance[P]coremltools/mlmodel/tests/MILBlob/FileWriterTests.cpp |
testFileWriterTestsReadData() | int testFileWriterTestsReadData()
{
AutoDeleteTempFile tempfile;
// Reading Data from file via Writer
{
struct data {
char a;
int b;
float c;
char d;
};
struct data_p1 {
char a;
int b;
};
struct... | pushq %rbp
movq %rsp, %rbp
subq $0x460, %rsp # imm = 0x460
leaq -0x30(%rbp), %rdi
movq %rdi, -0x2e0(%rbp)
callq 0xda440
movq -0x2e0(%rbp), %rdi
movb $0x62, -0x40(%rbp)
movl $0x17, -0x3c(%rbp)
movl $0x3e70242d, -0x38(%rbp) # imm = 0x3E70242D
movb $0x73, -0x34(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x8, -0x60(%rbp... | /hollance[P]coremltools/mlmodel/tests/MILBlob/FileWriterTests.cpp |
testMMapFileReaderTestsReadData() | int testMMapFileReaderTestsReadData()
{
AutoDeleteTempFile tempfile;
std::string_view fileData("salut! ca va?");
TestUtil::WriteBlobFile(tempfile.GetFilename(), Util::Span<const char>(fileData.data(), fileData.size()));
MMapFileReader reader(tempfile.GetFilename());
ML_ASSERT_EQ(reader.GetLength()... | pushq %rbp
movq %rsp, %rbp
subq $0x3f0, %rsp # imm = 0x3F0
leaq -0x30(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0xda440
leaq 0x30895c(%rip), %rsi # 0x3c30de
leaq -0x40(%rbp), %rdi
callq 0xbbc30
movq -0x170(%rbp), %rdi
callq 0xda830
movq %rax, -0x168(%rbp)
jmp 0xba7a0
leaq -0x40(%rbp), %rdi
movq %rdi, -0x1... | /hollance[P]coremltools/mlmodel/tests/MILBlob/MMapFileReaderTests.cpp |
testMMapFileReaderTestsReadStruct() | int testMMapFileReaderTestsReadStruct()
{
AutoDeleteTempFile tempfile;
{
std::array<uint16_t, 3> values{10, 20, 30};
TestUtil::WriteBlobFile(tempfile.GetFilename(), Util::MakeSpan(values));
}
MMapFileReader reader(tempfile.GetFilename());
ML_ASSERT_EQ(reader.GetLength(), uint64_t(6... | pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp # imm = 0x220
leaq -0x30(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
callq 0xda440
movq -0xd0(%rbp), %rdi
movw $0x1e, -0x34(%rbp)
movl $0x14000a, -0x38(%rbp) # imm = 0x14000A
callq 0xda830
movq %rax, -0xc8(%rbp)
jmp 0xbb3ed
leaq -0x38(%rbp), %rdi
callq 0xbbf80
movq %rax, ... | /hollance[P]coremltools/mlmodel/tests/MILBlob/MMapFileReaderTests.cpp |
testSpanCastTestsBasics() | int testSpanCastTestsBasics()
{
const std::vector<int32_t> values = {1, 2, 3, 4};
Span<const int32_t> span = MakeSpan(values);
{ // up cast
Span<const int64_t> casted = SpanCast<const int64_t>(span);
ML_ASSERT_EQ(casted.Size(), size_t(2));
Span<const int32_t> original = SpanCast<c... | pushq %rbp
movq %rsp, %rbp
subq $0x2d0, %rsp # imm = 0x2D0
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0xbca80
movq -0x108(%rbp), %rcx
movq... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanCastTests.cpp |
testSpanTestsMakeSpanVectorMutable() | int testSpanTestsMakeSpanVectorMutable()
{
std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
static_assert(std::is_same<decltype(span)::value_type, int>::value, "MakeSpan should make non-const T");
ML_ASSERT(!span.IsEmpty());
ML_ASSERT_EQ(span.Size(), size_t(4));
ML_ASSERT_E... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0xbca80
movq -0x78(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsMakeSpanVectorForcedImmutable() | int testSpanTestsMakeSpanVectorForcedImmutable()
{
std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan<const int>(values);
static_assert(std::is_same<decltype(span)::value_type, decltype(span)::const_value_type>::value,
"MakeSpan should make const T");
ML_ASSERT(!span.IsEmpty... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0xbca80
movq -0x78(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsMakeSpanVectorForcedImmutableFromConst() | int testSpanTestsMakeSpanVectorForcedImmutableFromConst()
{
const std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan<const int>(values);
static_assert(std::is_same<decltype(span)::value_type, decltype(span)::const_value_type>::value,
"MakeSpan should make const T");
ML_ASSER... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0xbca80
movq -0x78(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsMakeSpanVectorImmutable() | int testSpanTestsMakeSpanVectorImmutable()
{
const std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
static_assert(std::is_same<decltype(span)::value_type, decltype(span)::const_value_type>::value,
"MakeSpan should make const T");
ML_ASSERT(!span.IsEmpty());
ML... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0xbca80
movq -0x78(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsMakeSpanArrayMutable() | int testSpanTestsMakeSpanArrayMutable()
{
std::array<int, 4> values = {{1, 2, 3, 4}};
auto span = MakeSpan(values);
static_assert(std::is_same<decltype(span)::value_type, int>::value, "MakeSpan should make non-const T");
ML_ASSERT(!span.IsEmpty());
ML_ASSERT_EQ(span.Size(), size_t(4));
ML_ASSER... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x305105(%rip), %rax # 0x3c3834
movq %rax, -0x14(%rbp)
movq 0x305102(%rip), %rax # 0x3c383c
movq %rax, -0xc(%rbp)
leaq -0x14(%rbp), %rdi
callq 0xc6fc0
movq %rax, -0x28(%rbp)
leaq -0x28(%rbp), %rdi
callq 0xc6ff0
testb $0x1, %al
jne 0xbe75a
jmp 0xbe7d1
movq 0x475817(... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsMakeSpanArrayForcedImmutable() | int testSpanTestsMakeSpanArrayForcedImmutable()
{
std::array<int, 4> values = {{1, 2, 3, 4}};
auto span = MakeSpan<const int>(values);
static_assert(std::is_same<decltype(span)::value_type, decltype(span)::const_value_type>::value,
"MakeSpan should make const T");
ML_ASSERT(!span.IsEm... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x304e95(%rip), %rax # 0x3c3834
movq %rax, -0x14(%rbp)
movq 0x304e92(%rip), %rax # 0x3c383c
movq %rax, -0xc(%rbp)
leaq -0x14(%rbp), %rdi
callq 0xc70a0
movq %rax, -0x28(%rbp)
leaq -0x28(%rbp), %rdi
callq 0xc70d0
testb $0x1, %al
jne 0xbe9ca
jmp 0xbea41
movq 0x4755a7(... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsMakeSpanArrayImmutable() | int testSpanTestsMakeSpanArrayImmutable()
{
const std::array<int, 4> values = {{1, 2, 3, 4}};
auto span = MakeSpan(values);
static_assert(std::is_same<decltype(span)::value_type, decltype(span)::const_value_type>::value,
"MakeSpan should make const T");
ML_ASSERT(!span.IsEmpty());
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x304c25(%rip), %rax # 0x3c3834
movq %rax, -0x14(%rbp)
movq 0x304c22(%rip), %rax # 0x3c383c
movq %rax, -0xc(%rbp)
leaq -0x14(%rbp), %rdi
callq 0xc7160
movq %rax, -0x28(%rbp)
leaq -0x28(%rbp), %rdi
callq 0xc70d0
testb $0x1, %al
jne 0xbec3a
jmp 0xbecb1
movq 0x475337(... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsCopyAndAssignment() | int testSpanTestsCopyAndAssignment()
{
std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
auto copied(span);
ML_ASSERT_EQ(copied.Size(), size_t(4));
Span<int> other;
other = copied;
ML_ASSERT_EQ(other.Size(), size_t(4));
return 0;
} | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0xbca80
movq -0xa8(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsAccessMutable() | int testSpanTestsAccessMutable()
{
std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
ML_ASSERT_EQ(span[0], 1);
span[0] = 10;
ML_ASSERT_EQ(span[0], 10);
#if !defined(NDEBUG)
ML_ASSERT_THROWS(span[5], std::range_error);
#endif
ML_ASSERT_EQ(span.At(1), 2);
span.At(1) ... | pushq %rbp
movq %rsp, %rbp
subq $0x1f0, %rsp # imm = 0x1F0
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0xbca80
movq -0x90(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsAccessImmutable() | int testSpanTestsAccessImmutable()
{
const std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
ML_ASSERT_EQ(span[0], 1);
ML_ASSERT_EQ(span.At(1), 2);
ML_ASSERT_THROWS(span.At(5), std::range_error);
static_assert(std::is_same<decltype(span[0]), const int&>::value, "span[0] sho... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq 0xbca80
movq -0x80(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsIteratorImmutable() | int testSpanTestsIteratorImmutable()
{
const std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
int counter = 0;
for (auto& i : span) {
static_assert(std::is_same<decltype(i), const int&>::value, "iterator must be const");
ML_ASSERT_EQ(i, ++counter);
}
ML_ASSE... | pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp # imm = 0x120
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0xbca80
movq -0xa0(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsSlicingUnbounded() | int testSpanTestsSlicingUnbounded()
{
std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
{
auto sub = span.Slice(2);
ML_ASSERT_EQ(sub.Size(), size_t(2));
ML_ASSERT_EQ(sub[0], 3);
ML_ASSERT_EQ(sub[1], 4);
}
{
auto sub = span.Slice(0);
... | pushq %rbp
movq %rsp, %rbp
subq $0x1f0, %rsp # imm = 0x1F0
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0xbca80
movq -0x98(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsSlicingUnboundedEdge() | int testSpanTestsSlicingUnboundedEdge()
{
std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
auto sub = span.Slice(3);
ML_ASSERT_EQ(sub.Size(), size_t(1));
ML_ASSERT_EQ(sub[0], 4);
return 0;
} | pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp # imm = 0x120
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0x88(%rbp)
callq 0xbca80
movq -0x88(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsSlicingIllegalBounds() | int testSpanTestsSlicingIllegalBounds()
{
std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
ML_ASSERT_THROWS(span.Slice(4), std::range_error);
ML_ASSERT_THROWS(span.Slice(0, 6), std::range_error);
return 0;
} | pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp # imm = 0x150
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0xbca80
movq -0xb8(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsSlicingBounded() | int testSpanTestsSlicingBounded()
{
std::vector<int> values = {1, 2, 3, 4};
auto span = MakeSpan(values);
{
auto sub = span.Slice(1, 2);
ML_ASSERT_EQ(sub.Size(), size_t(2));
ML_ASSERT_EQ(sub[0], 2);
ML_ASSERT_EQ(sub[1], 3);
auto subsub = sub.Slice(0, 1);
ML_... | pushq %rbp
movq %rsp, %rbp
subq $0x320, %rsp # imm = 0x320
movl $0x1, -0x40(%rbp)
movl $0x2, -0x3c(%rbp)
movl $0x3, -0x38(%rbp)
movl $0x4, -0x34(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x4, -0x28(%rbp)
leaq -0x41(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0xbca80
movq -0xb8(%rbp), %rcx
movq -... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsIterationIllegal() | int testSpanTestsIterationIllegal()
{
const std::vector<int> values = {1, 2, 3, 4, 5, 6};
auto span = MakeSpan(values);
ML_ASSERT_THROWS(span.IterateSlices(5), std::range_error);
return 0;
} | pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp # imm = 0x100
movups 0x2fdf5a(%rip), %xmm0 # 0x3c388c
movaps %xmm0, -0x50(%rbp)
movabsq $0x600000005, %rax # imm = 0x600000005
movq %rax, -0x40(%rbp)
leaq -0x50(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x6, -0x28(%rbp)
leaq -0x51(%rbp), %rdi
movq %rdi, -0xb... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsIterationStaticSlices() | int testSpanTestsIterationStaticSlices()
{
const std::vector<int> values = {1, 2, 3, 4, 5, 6};
auto span = MakeSpan(values);
// iterate 3 values at a time
int counter = 0;
for (auto row : span.IterateSlices<2>()) {
ML_ASSERT_EQ(row.Size(), size_t(2));
ML_ASSERT_EQ(row.Get<0>(), coun... | pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp # imm = 0x1E0
movups 0x2fdcf2(%rip), %xmm0 # 0x3c38a4
movaps %xmm0, -0x50(%rbp)
movabsq $0x600000005, %rax # imm = 0x600000005
movq %rax, -0x40(%rbp)
leaq -0x50(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x6, -0x28(%rbp)
leaq -0x51(%rbp), %rdi
movq %rdi, -0xc... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsIterationDynamicSlices() | int testSpanTestsIterationDynamicSlices()
{
const std::vector<int> values = {1, 2, 3, 4, 5, 6};
auto span = MakeSpan(values);
// iterate 3 values at a time
int counter = 0;
for (auto row : span.IterateSlices(3)) {
ML_ASSERT_EQ(row.Size(), size_t(3));
for (auto i : row) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp # imm = 0x200
movups 0x2fd74a(%rip), %xmm0 # 0x3c38bc
movaps %xmm0, -0x50(%rbp)
movabsq $0x600000005, %rax # imm = 0x600000005
movq %rax, -0x40(%rbp)
leaq -0x50(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x6, -0x28(%rbp)
leaq -0x51(%rbp), %rdi
movq %rdi, -0x1... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
testSpanTestsIterationMultipleDims() | int testSpanTestsIterationMultipleDims()
{
// clang-format off
const std::vector<int> values = {
// shape: [2, 3, 4]
/*0*/
1, 2, 3, 4,
5, 6, 7, 8,
9, 10, 11, 12,
/*1*/
1, 2, 3, 4,
5, 6, 7, 8,
9, 10, 11, 12
};
// clang-format on
... | pushq %rbp
movq %rsp, %rbp
subq $0x320, %rsp # imm = 0x320
movups 0x2fd252(%rip), %xmm0 # 0x3c3924
movaps %xmm0, -0x40(%rbp)
movups 0x2fd237(%rip), %xmm0 # 0x3c3914
movaps %xmm0, -0x50(%rbp)
movups 0x2fd21c(%rip), %xmm0 # 0x3c3904
movaps %xmm0, -0x60(%rbp)
movups 0x2fd201(%rip), %xmm0 # 0x3c38f4
mova... | /hollance[P]coremltools/mlmodel/tests/MILBlob/SpanTests.cpp |
MILBlob::Util::Span<int, 18446744073709551615ul>::operator[](unsigned long) const | reference operator[](size_t index) const
{
MILDebugVerifyIsTrue(index < Size(), std::range_error, "index out of bounds");
return m_ptr[index];
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
callq 0xc6ef0
movq %rax, %rcx
movq -0x30(%rbp), %rax
cmpq %rcx, %rax
jb 0xc7365
movl $0x10, %edi
callq 0x37480
movq %... | /hollance[P]coremltools/mlmodel/src/MILBlob/Util/Span.hpp |
MILBlob::Util::Span<int const, 18446744073709551615ul>::operator[](unsigned long) const | reference operator[](size_t index) const
{
MILDebugVerifyIsTrue(index < Size(), std::range_error, "index out of bounds");
return m_ptr[index];
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
callq 0xbcc80
movq %rax, %rcx
movq -0x30(%rbp), %rax
cmpq %rcx, %rax
jb 0xc74c5
movl $0x10, %edi
callq 0x37480
movq %... | /hollance[P]coremltools/mlmodel/src/MILBlob/Util/Span.hpp |
MILBlob::Util::Span<int const, 18446744073709551615ul>::At(unsigned long) const | reference At(size_t index) const
{
MILVerifyIsTrue(index < Size(), std::range_error, "index out of bounds");
return m_ptr[index];
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
callq 0xbcc80
movq %rax, %rcx
movq -0x30(%rbp), %rax
cmpq %rcx, %rax
jb 0xc7575
movl $0x10, %edi
callq 0x37480
movq %... | /hollance[P]coremltools/mlmodel/src/MILBlob/Util/Span.hpp |
MILBlob::Util::Span<int, 18446744073709551615ul>::SliceByDimension(unsigned long, unsigned long) const | Span<T> SliceByDimension(size_t num_slices, size_t slice_index) const
{
MILVerifyIsTrue(Size() % num_slices == 0, std::range_error, "index out of bounds");
size_t stride = Size() / num_slices;
return Slice(slice_index * stride, stride);
} | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rdi
callq 0xc6ef0
xorl %ecx, %ecx
movl %ecx, %edx
divq -0x20(%rbp)
cmpq $0x0, %rdx
je 0xc80c3
movl $0x10, %edi
callq 0x37480
movq %rax, %rdi
m... | /hollance[P]coremltools/mlmodel/src/MILBlob/Util/Span.hpp |
MILBlob::Util::Span<int const, 18446744073709551615ul>::IterateSlices(unsigned long) const | IteratorProvider<SliceIterator> IterateSlices(size_t sliceSize) const
{
MILVerifyIsTrue(Size() % sliceSize == 0, std::range_error, "index out of bounds");
return IteratorProvider<SliceIterator>(SliceIterator(Data(), sliceSize),
SliceIterator(Data() + S... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x58(%rbp)
movq %rdi, -0x50(%rbp)
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rdi
callq 0xbcc80
xorl %ecx, %ecx
movl %ecx, %edx
divq -0x10(%rbp)
cmpq $0x0, %rdx
je 0xc8197
movl $0x10, %edi
callq 0x37... | /hollance[P]coremltools/mlmodel/src/MILBlob/Util/Span.hpp |
testStorageReaderTestsIncorrectDType() | int testStorageReaderTestsIncorrectDType()
{
AutoDeleteTempFile tempfile;
{
// clang-format off
std::vector<uint16_t> bytes {
// HEADER
0x0001, 0x0000, 0x0002, 0x0000, // count=1, version=2
0x0000, 0x0000, 0x0000, 0x0000, // reserved_0
0x0000, 0... | pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp # imm = 0x210
leaq -0x30(%rbp), %rdi
callq 0xda440
xorps %xmm0, %xmm0
movaps %xmm0, -0x180(%rbp)
movaps %xmm0, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps %xmm0, -0xb0(%rbp)
movaps %xmm0, -0xc0(%rbp)
movaps %xmm... | /hollance[P]coremltools/mlmodel/tests/MILBlob/StorageReaderTests.cpp |
testStorageReaderTestsRawData() | int testStorageReaderTestsRawData()
{
auto tempfile = TestUtil::MakeStorageTempFileWith3Records();
StorageReader reader(tempfile.GetFilename());
{ // read uint8_t weights from metadata 1
const auto data = reader.GetRawDataView(64);
ML_ASSERT_EQ(data.Size(), size_t(5));
std::vecto... | pushq %rbp
movq %rsp, %rbp
subq $0x490, %rsp # imm = 0x490
leaq -0x30(%rbp), %rdi
movq %rdi, -0x1f8(%rbp)
callq 0xdb870
movq -0x1f8(%rbp), %rdi
callq 0xda830
movq %rax, -0x1f0(%rbp)
jmp 0xce790
movq -0x1f0(%rbp), %rsi
leaq -0x58(%rbp), %rdi
callq 0x371c0
jmp 0xce7a2
leaq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %... | /hollance[P]coremltools/mlmodel/tests/MILBlob/StorageReaderTests.cpp |
testStorageReaderTestsDataOffset() | int testStorageReaderTestsDataOffset()
{
auto tempfile = TestUtil::MakeStorageTempFileWith3Records();
StorageReader reader(tempfile.GetFilename());
{ // read data offset for uint8_t weights from metadata 1
ML_ASSERT_EQ(uint64_t(128), reader.GetDataOffset(64));
ML_ASSERT_EQ(uint64_t(5), re... | pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp # imm = 0x1D0
leaq -0x30(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0xdb870
movq -0x78(%rbp), %rdi
callq 0xda830
movq %rax, -0x70(%rbp)
jmp 0xcf4e7
movq -0x70(%rbp), %rsi
leaq -0x58(%rbp), %rdi
callq 0x371c0
jmp 0xcf4f6
leaq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
... | /hollance[P]coremltools/mlmodel/tests/MILBlob/StorageReaderTests.cpp |
testStorageWriterTestsSupportedTypes() | int testStorageWriterTestsSupportedTypes()
{
AutoDeleteTempFile tempfile;
auto filePath = tempfile.GetFilename();
// Writing uint8_t values
{
const std::vector<uint8_t> val = {0x01, 0xde, 0xad, 0x10};
auto expectedSpan = Util::MakeSpan(val);
uint64_t offset = 0;
{
... | pushq %rbp
movq %rsp, %rbp
subq $0x660, %rsp # imm = 0x660
leaq -0x30(%rbp), %rdi
movq %rdi, -0x260(%rbp)
callq 0xda440
movq -0x260(%rbp), %rdi
callq 0xda830
movq %rax, -0x258(%rbp)
jmp 0xd1d40
movq -0x258(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x371c0
jmp 0xd1d52
movb $0x1, -0x8c(%rbp)
movb $-0x22, -0x8b(... | /hollance[P]coremltools/mlmodel/tests/MILBlob/StorageWriterTests.cpp |
bool (anonymous namespace)::IsCorrectData<unsigned char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, MILBlob::Util::Span<unsigned char const, 18446744073709551615ul>) | [[nodiscard]] bool IsCorrectData(const std::string& filePath, uint64_t offset, Util::Span<const T> expectedSpan)
{
blob_metadata metadata;
TestUtil::ReadData<blob_metadata>(filePath, metadata, offset);
std::vector<T> output(expectedSpan.Size());
auto outputSpan = Util::MakeSpan(output);
TestUtil::R... | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %rdx, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
leaq -0x60(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0xd5850
movq -0xc8(%rbp), %rsi
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rdx
callq 0xd5870
leaq -0x10(%rbp)... | /hollance[P]coremltools/mlmodel/tests/MILBlob/StorageWriterTests.cpp |
addInnerProductLayer(CoreML::Specification::Model&, bool, char const*, TensorAttributes const*, TensorAttributes const*, bool, bool) | Specification::NeuralNetwork* addInnerProductLayer(Specification::Model& m, bool isUpdatable, const char *name, const TensorAttributes *inTensorAttr, const TensorAttributes *outTensorAttr, bool areWeightsQuantized, bool isBiasQuantized) {
auto neuralNet = m.mutable_neuralnetwork();
auto layer = neuralNet->... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movl %r9d, -0x8c(%rbp)
movq %rcx, %rax
movl -0x8c(%rbp), %ecx
movq %rax, -0x88(%rbp)
movq %rdx, %rax
movq -0x88(%rbp), %rdx
movq %rax, -0x80(%rbp)
movl %esi, %eax
movq -0x80(%rbp), %rsi
movq %rdi, %r9
movb %al, %dil
movb 0x10(%rbp), %al
movq %r9, -0x8(%rbp)
andb $0x1, %dil
mo... | /hollance[P]coremltools/mlmodel/tests/ModelCreationUtils.cpp |
addSoftmaxLayer(CoreML::Specification::Model&, char const*, char const*, char const*) | Specification::NeuralNetwork* addSoftmaxLayer(Specification::Model& m, const char *name, const char *input, const char *output) {
auto neuralNet = m.mutable_neuralnetwork();
auto softmaxLayer = neuralNet->add_layers();
softmaxLayer->set_name(name);
softmaxLayer->add_input(input);
softmaxL... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x52b00
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0x52b90
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x85660
movq -... | /hollance[P]coremltools/mlmodel/tests/ModelCreationUtils.cpp |
buildBasicNeuralNetworkClassifierModel(CoreML::Specification::Model&, bool, TensorAttributes const*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::vector<long, std::allocat... | Specification::NeuralNetworkClassifier* buildBasicNeuralNetworkClassifierModel(Specification::Model& m, bool isUpdatable, const TensorAttributes *inTensorAttr, std::vector<std::string> stringClassLabels, std::vector<int64_t> intClassLabels, bool includeBias) {
bool usesStringClassLabels = stringClassLabels.siz... | pushq %rbp
movq %rsp, %rbp
subq $0x380, %rsp # imm = 0x380
movq %r8, -0x2e8(%rbp)
movq %rcx, -0x2e0(%rbp)
movl %esi, %ecx
movq %rdi, %rsi
movq -0x2e0(%rbp), %rdi
movb %r9b, %al
movq %rsi, -0x8(%rbp)
andb $0x1, %cl
movb %cl, -0x9(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x20(%rbp)
movq %r8, -0x28(%rbp)
andb $... | /hollance[P]coremltools/mlmodel/tests/ModelCreationUtils.cpp |
buildBasicNearestNeighborClassifier(CoreML::Specification::Model&, bool, TensorAttributes const*, char const*) | Specification::KNearestNeighborsClassifier* buildBasicNearestNeighborClassifier(Specification::Model& m, bool isUpdatable, const TensorAttributes *inTensorAttr, const char *outTensorName) {
auto inTensor = m.mutable_description()->add_input();
inTensor->set_name(inTensorAttr->name);
auto inTensorShape = inT... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x3f8a0
movq %rax, %rdi
callq 0x39e50
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rsi
call... | /hollance[P]coremltools/mlmodel/tests/ModelCreationUtils.cpp |
buildEmptyPipelineModel(CoreML::Specification::Model&, bool, TensorAttributes const*, TensorAttributes const*) | Specification::Pipeline* buildEmptyPipelineModel(Specification::Model& m, bool isUpdatable, const TensorAttributes *inTensorAttr, const TensorAttributes *outTensorAttr) {
auto inTensor = m.mutable_description()->add_input();
inTensor->set_name(inTensorAttr->name);
auto inTensorShape = inTensor->mutable_type... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x3f8a0
movq %rax, %rdi
callq 0x39e50
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rsi
call... | /hollance[P]coremltools/mlmodel/tests/ModelCreationUtils.cpp |
CoreML::Specification::ModelDescription::set_predictedprobabilitiesname(char const*) | inline void ModelDescription::set_predictedprobabilitiesname(const char* value) {
GOOGLE_DCHECK(value != NULL);
predictedprobabilitiesname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:CoreML.Specification.ModelDescri... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, -0x49(%rbp)
cmpq $0x0, %rax
je 0xd8f5e
jmp 0xd8fb3
leaq 0x2e6808(%rip), %rdx # 0x3bf76d
leaq -0x48(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movl $0x3, %esi... | /hollance[P]coremltools/mlmodel/src/../build/format/Model.pb.h |
google::protobuf::RepeatedField<float>::Resize(int, float const&) | inline void RepeatedField<Element>::Resize(int new_size, const Element& value) {
GOOGLE_DCHECK_GE(new_size, 0);
if (new_size > current_size_) {
Reserve(new_size);
std::fill(&rep_->elements[current_size_],
&rep_->elements[new_size], value);
}
current_size_ = new_size;
} | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0xc(%rbp), %eax
movb $0x0, -0x51(%rbp)
cmpl $0x0, %eax
jl 0xd939c
jmp 0xd93e5
leaq 0x2e5d52(%rip), %rdx # 0x3bf0f5
leaq -0x50(%rbp), %rdi
movq %rdi, -0x80(... | /hollance[P]coremltools/mlmodel/../deps/protobuf/src/google/protobuf/repeated_field.h |
CoreML::Specification::Model::mutable_featurevectorizer() | inline ::CoreML::Specification::FeatureVectorizer* Model::mutable_featurevectorizer() {
if (!has_featurevectorizer()) {
clear_Type();
set_has_featurevectorizer();
Type_.featurevectorizer_ = new ::CoreML::Specification::FeatureVectorizer;
}
// @@protoc_insertion_point(field_mutable:CoreML.Specification... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0xd99b0
testb $0x1, %al
jne 0xd96f4
movq -0x20(%rbp), %rdi
callq 0x135940
movq -0x20(%rbp), %rdi
callq 0xd99e0
movl $0x30, %edi
callq 0x37220
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x28(%rbp)
callq ... | /hollance[P]coremltools/mlmodel/src/../build/format/Model.pb.h |
(anonymous namespace)::DeleteTree(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void DeleteTree(const std::string& path)
{
// fts_open wants a char* const, not a const char*; therefore, we need
// a mutable pointer to path. fts promises not to modify it.
std::vector<char> pathchars(path.begin(), path.end());
pathchars.push_back(0);
std::array<char*, 2> paths{pathchars.data(), ... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x372c0
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
callq 0x379e0
movq %rax, -0x30(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x37930
movq -0x78(%rbp), %rcx
movq -0x28(%rbp), %rsi
movq -0x30(%rbp), %rdx
leaq -0... | /hollance[P]coremltools/mlmodel/tests/MILBlob/AutoDeleteTempFile.cpp |
CoreML::Specification::CoreMLModels::AudioFeaturePrint_Sound_SoundVersion_IsValid(int) | bool AudioFeaturePrint_Sound_SoundVersion_IsValid(int value) {
switch (value) {
case 0:
case 1:
return true;
default:
return false;
}
} | pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
movl -0x8(%rbp), %eax
subl $0x1, %eax
ja 0xdbae7
jmp 0xdbae1
movb $0x1, -0x1(%rbp)
jmp 0xdbaeb
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
popq %rbp
retq
nopw %cs:(%rax,%rax)
| /hollance[P]coremltools/build_O0/mlmodel/format/AudioFeaturePrint.pb.cc |
CoreML::Specification::CoreMLModels::AudioFeaturePrint_Sound::AudioFeaturePrint_Sound(CoreML::Specification::CoreMLModels::AudioFeaturePrint_Sound const&) | AudioFeaturePrint_Sound::AudioFeaturePrint_Sound(const AudioFeaturePrint_Sound& from)
: ::google::protobuf::MessageLite(),
_internal_metadata_(NULL),
_cached_size_(0) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
version_ = from.version_;
// @@protoc_insertion_point(copy_constructor:Cor... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x48(%rbp)
movq %rsi, -0x50(%rbp)
movq -0x48(%rbp), %rdi
movq %rdi, -0x70(%rbp)
callq 0xdd280
movq -0x70(%rbp), %rdi
leaq 0x44731d(%rip), %rax # 0x522f28
addq $0x10, %rax
movq %rax, (%rdi)
addq $0x8, %rdi
movq %rdi, -0x68(%rbp)
xorl %eax, %eax
movl %eax, %esi
c... | /hollance[P]coremltools/build_O0/mlmodel/format/AudioFeaturePrint.pb.cc |
CoreML::Specification::CoreMLModels::AudioFeaturePrint_Sound::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*) | bool AudioFeaturePrint_Sound::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
::google::protobuf::uint32 tag;
// @@protoc_insertion_point(parse_start:CoreML.Specification.CoreMLModels.AudioFeaturePrint.Sou... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x58(%rbp)
movq %rsi, -0x60(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x48(%rbp)
movl $0x7f, -0x4c(%rbp)
movq -0x48(%rbp), %rcx
movl -0x4c(%rbp), %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
movq -0x10(%rbp), %rcx... | /hollance[P]coremltools/build_O0/mlmodel/format/AudioFeaturePrint.pb.cc |
CoreML::Specification::CoreMLModels::AudioFeaturePrint_Sound::MergeFrom(CoreML::Specification::CoreMLModels::AudioFeaturePrint_Sound const&) | void AudioFeaturePrint_Sound::MergeFrom(const AudioFeaturePrint_Sound& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:CoreML.Specification.CoreMLModels.AudioFeaturePrint.Sound)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::google::protobuf::uint32 c... | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x48(%rbp)
movq %rsi, -0x50(%rbp)
movq -0x48(%rbp), %rcx
movq %rcx, -0xb0(%rbp)
movq -0x50(%rbp), %rax
movb $0x0, -0x89(%rbp)
cmpq %rcx, %rax
je 0xdc260
jmp 0xdc2be
leaq 0x2e8aa9(%rip), %rdx # 0x3c4d10
leaq -0x88(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
movl $0x3, %e... | /hollance[P]coremltools/build_O0/mlmodel/format/AudioFeaturePrint.pb.cc |
CoreML::Specification::CoreMLModels::AudioFeaturePrint::ByteSizeLong() const | size_t AudioFeaturePrint::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:CoreML.Specification.CoreMLModels.AudioFeaturePrint)
size_t total_size = 0;
switch (AudioFeaturePrintType_case()) {
// .CoreML.Specification.CoreMLModels.AudioFeaturePrint.Sound sound = 20;
case kSound: {
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
movq $0x0, -0x10(%rbp)
callq 0x96260
movl %eax, %ecx
movl %ecx, -0x18(%rbp)
testl %eax, %eax
je 0xdcd41
jmp 0xdcd1c
movl -0x18(%rbp), %eax
subl $0x14, %eax
jne 0xdcd43
jmp 0xdcd26
movq -0x20(%rbp), %rax
movq 0... | /hollance[P]coremltools/build_O0/mlmodel/format/AudioFeaturePrint.pb.cc |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.