path stringlengths 26 218 | content stringlengths 0 231k |
|---|---|
the-algorithm-main/navi/dr_transform/src/util.rs | use npyz::WriterBuilder;
use npyz::{AutoSerialize, WriteOptions};
use std::io::BufWriter;
use std::{
fs::File,
io::{self, BufRead},
};
pub fn load_batch_prediction_request_base64(file_name: &str) -> Vec<Vec<u8>> {
let file = File::open(file_name).expect("could not read file");
let mut result = vec![];
... |
the-algorithm-main/navi/navi/Cargo.toml | [package]
name = "navi"
version = "2.0.45"
edition = "2021"
[[bin]]
name = "navi"
path = "src/bin/navi.rs"
required-features=["tf"]
[[bin]]
name = "navi_torch"
path = "src/bin/navi_torch.rs"
required-features=["torch"]
[[bin]]
name = "navi_onnx"
path = "src/bin/navi_onnx.rs"
required-features=["onnx"]
[[bin]]
name = "... |
the-algorithm-main/navi/navi/build.rs | fn main() -> Result<(), Box<dyn std::error::Error>> {
//::compile_protos("proto/tensorflow_serving/apis/prediction_service.proto")?;
tonic_build::configure().compile(
&[
"proto/tensorflow_serving/apis/prediction_service.proto",
"proto/tensorflow/core/protobuf/config.proto",
... |
the-algorithm-main/navi/navi/proto/kfserving/grpc_predict_v2.proto | // Copyright 2020 kubeflow.org.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
the-algorithm-main/navi/navi/proto/tensorflow/core/example/example.proto | // Protocol messages for describing input data Examples for machine learning
// model training or inference.
syntax = "proto3";
package tensorflow;
import "tensorflow/core/example/feature.proto";
option cc_enable_arenas = true;
option java_outer_classname = "ExampleProtos";
option java_multiple_files = true;
option ... |
the-algorithm-main/navi/navi/proto/tensorflow/core/example/feature.proto | // Protocol messages for describing features for machine learning model
// training or inference.
//
// There are three base Feature types:
// - bytes
// - float
// - int64
//
// A Feature contains Lists which may hold zero or more values. These
// lists are the base values BytesList, FloatList, Int64List.
//
//... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/allocation_description.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "AllocationDescriptionProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/allocation_descrip... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/api_def.proto | // Defines the text format for including per-op API definition and
// overrides for client language op code generators.
syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/attr_value.proto";
option cc_enable_arenas = true;
option java_outer_classname = "ApiDefProtos";
option java_multiple_files... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/attr_value.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option cc_enable_arenas = true;
option java_outer_classname = "AttrValueProtos";
option java_multiple_files = true;
option jav... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/cost_graph.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option cc_enable_arenas = true;
option java_outer_classname = "CostGraphProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/dataset_metadata.proto | syntax = "proto3";
package tensorflow.data;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/dataset_metadata_go_proto";
// next: 2
message Metadata {
bytes name = 1;
}
|
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/dataset_options.proto | syntax = "proto3";
package tensorflow.data;
import "tensorflow/core/framework/model.proto";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/dataset_options_go_proto";
// Represents the type of auto-sharding we enable.
enum AutoShardPolicy {
// AUTO: Attempts FILE-based sharding,... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/device_attributes.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "DeviceAttributesProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/device_attributes_go_pr... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/full_type.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "FullTypeProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/full_type_go_proto";
// Experi... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/function.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/attr_value.proto";
import "tensorflow/core/framework/node_def.proto";
import "tensorflow/core/framework/op_def.proto";
option cc_enable_arenas = true;
option java_outer_classname = "FunctionProtos";
option java_multiple_files = true;
option jav... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/graph.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/function.proto";
import "tensorflow/core/framework/node_def.proto";
import "tensorflow/core/framework/versions.proto";
option cc_enable_arenas = true;
option java_outer_classname = "GraphProtos";
option java_multiple_files = true;
option java_p... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/graph_transfer_info.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/types.proto";
option cc_enable_arenas = true;
option java_outer_classname = "GraphTransferInfoProto";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/ten... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/kernel_def.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/attr_value.proto";
option cc_enable_arenas = true;
option java_outer_classname = "KernelDefProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tenso... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/log_memory.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor_description.proto";
option cc_enable_arenas = true;
option java_outer_classname = "LogMemoryProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorfl... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/model.proto | syntax = "proto3";
package tensorflow.data.model;
option cc_enable_arenas = true;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/model_go_proto";
// Class of a node in the performance model.
enum NodeClass {
UNKNOWN = 0;
INTERLEAVE_MANY = 1;
ASYNC_INTERLEAVE_MANY = 2;
KNOW... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/node_def.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/attr_value.proto";
import "tensorflow/core/framework/full_type.proto";
option cc_enable_arenas = true;
option java_outer_classname = "NodeProto";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_pac... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/op_def.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/attr_value.proto";
import "tensorflow/core/framework/full_type.proto";
import "tensorflow/core/framework/resource_handle.proto";
import "tensorflow/core/framework/types.proto";
option cc_enable_arenas = true;
option java_outer_classname = "OpDe... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/reader_base.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "ReaderBaseProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/reader_base_go_proto";
// Fo... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/resource_handle.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option cc_enable_arenas = true;
option java_outer_classname = "ResourceHandle";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/step_stats.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/allocation_description.proto";
import "tensorflow/core/framework/tensor_description.proto";
option cc_enable_arenas = true;
option java_outer_classname = "StepStatsProtos";
option java_multiple_files = true;
option java_package = "org.tensorflo... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/summary.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor.proto";
option cc_enable_arenas = true;
option java_outer_classname = "SummaryProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/tensor.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/resource_handle.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option cc_enable_arenas = true;
option java_outer_classname = "TensorProtos";
option java_multiple_files = true;
opti... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/tensor_description.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/allocation_description.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option cc_enable_arenas = true;
option java_outer_classname = "TensorDescriptionProtos";
option java_multiple_... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/tensor_shape.proto | // Protocol buffer representing the shape of tensors.
syntax = "proto3";
option cc_enable_arenas = true;
option java_outer_classname = "TensorShapeProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/frame... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/tensor_slice.proto | // Protocol buffer representing slices of a tensor
syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "TensorSliceProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tenso... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/types.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "TypesProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/types_go_proto";
// (== suppress_... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/variable.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "VariableProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/variable_go_proto";
// Indicat... |
the-algorithm-main/navi/navi/proto/tensorflow/core/framework/versions.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "VersionsProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/versions_go_proto";
// Version... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/autotuning.proto | // This file defines protos that store the results of autotuning various
// operations.
//
// They are in proto format because we want to log them structured. They offer
// tremendous statistical, testing, and debugging value.
syntax = "proto3";
package tensorflow;
import "google/protobuf/any.proto";
import "google/p... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/bfc_memory_map.proto | syntax = "proto3";
package tensorflow;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Some of the data from AllocatorStats
message MemAllocatorStats {
int64 num_allocs = 1;
int64 bytes_in_use = 2;
int64 peak_bytes_in_use = 3;
int64 largest_allo... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/cluster.proto | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/composite_tensor_variant.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/protobuf/struct.proto";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Metadata for CompositeTensorVariant, used when serializing as Variant.
//
// We define a new message here (rather tha... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/config.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/cost_graph.proto";
import "tensorflow/core/framework/graph.proto";
import "tensorflow/core/framework/step_stats.proto";
import "tensorflow/core/protobuf/cluster.proto";
import "tensorflow/core/protobuf/coordination_config.proto";
import "tensorf... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/control_flow.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "ControlFlowProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
/... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/conv_autotuning.proto | // This is used for convolution logging. Also see
// tensorflow/core/protobuf/autotuing.h
syntax = "proto3";
package tensorflow;
import "tensorflow/stream_executor/dnn.proto";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// A convolution. Currently it'... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/coordination_config.proto | syntax = "proto3";
package tensorflow;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Coordination service configuration parameters.
// The system picks appropriate values for fields that are not set.
message CoordinationServiceConfig {
// Type of co... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/coordination_service.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/compiler/xla/pjrt/distributed/protocol.proto";
import "tensorflow/core/framework/device_attributes.proto";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Represents a remote worker task, specif... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/critical_section.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "CriticalSectionProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto"... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/data_service.proto | syntax = "proto3";
package tensorflow.data;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Next tag: 2
message ProcessingModeDef {
// Specifies how data is sharded among tf.data service workers.
enum ShardingPolicy {
// No sharding will be perf... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/debug.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "DebugProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Opti... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/debug_event.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor.proto";
import "tensorflow/core/protobuf/graph_debug_info.proto";
option cc_enable_arenas = true;
option java_outer_classname = "DebugEventProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.util";
option go... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/device_filters.proto | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/device_properties.proto | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/distributed_runtime_payloads.proto | syntax = "proto3";
package tensorflow.distributed_runtime;
option cc_enable_arenas = true;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Used to serialize and transmit tensorflow::Status payloads through
// grpc::Status `error_details` since grpc::Sta... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/eager_service.proto | syntax = "proto3";
package tensorflow.eager;
import "tensorflow/core/framework/attr_value.proto";
import "tensorflow/core/framework/device_attributes.proto";
import "tensorflow/core/framework/function.proto";
import "tensorflow/core/framework/tensor.proto";
import "tensorflow/core/framework/tensor_shape.proto";
impor... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/error_codes.proto | syntax = "proto3";
package tensorflow.error;
option cc_enable_arenas = true;
option java_outer_classname = "ErrorCodesProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/graph_debug_info.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "GraphDebugInfoProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/master.proto | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/master_service.proto | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/meta_graph.proto | syntax = "proto3";
package tensorflow;
import "google/protobuf/any.proto";
import "tensorflow/core/framework/graph.proto";
import "tensorflow/core/framework/op_def.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
import "tensorflow/core/protobuf/saved_obje... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/named_tensor.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor.proto";
option cc_enable_arenas = true;
option java_outer_classname = "NamedTensorProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorf... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/queue_runner.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/protobuf/error_codes.proto";
option cc_enable_arenas = true;
option java_outer_classname = "QueueRunnerProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/ten... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/remote_tensor_handle.proto | syntax = "proto3";
package tensorflow.eager;
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option cc_enable_arenas = true;
option java_outer_classname = "RemoteTensorHandleProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framew... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/replay_log.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/protobuf/master.proto";
option cc_enable_arenas = true;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Records the creation of a new replay session. We record the device listing
// here t... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/rewriter_config.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/attr_value.proto";
import "tensorflow/core/protobuf/verifier_config.proto";
option cc_enable_arenas = true;
option java_outer_classname = "RewriterConfigProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/saved_model.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/protobuf/meta_graph.proto";
option cc_enable_arenas = true;
option java_outer_classname = "SavedModelProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tenso... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/saved_object_graph.proto | syntax = "proto3";
package tensorflow;
import "google/protobuf/any.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
import "tensorflow/core/framework/variable.proto";
import "tensorflow/core/framework/versions.proto";
import "tensorflow/core/protobuf/struc... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/saver.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "SaverProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.util";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Protocol ... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/service_config.proto | syntax = "proto3";
package tensorflow.data.experimental;
import "tensorflow/core/protobuf/data_service.proto";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Configuration for a tf.data service DispatchServer.
// Next id: 10
message DispatcherConfig {... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/snapshot.proto | syntax = "proto3";
package tensorflow.data.experimental;
import "tensorflow/core/framework/tensor.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/status.proto | syntax = "proto3";
package tensorflow;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// If included as a payload, this message flags the Status to be a "derived"
// Status. Used by StatusGroup to ignore certain Statuses when reporting
// errors to end us... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/struct.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor.proto";
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/types.proto";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// `StructuredVa... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/tensor_bundle.proto | syntax = "proto3";
package tensorflow;
import "tensorflow/core/framework/tensor_shape.proto";
import "tensorflow/core/framework/tensor_slice.proto";
import "tensorflow/core/framework/types.proto";
import "tensorflow/core/framework/versions.proto";
option cc_enable_arenas = true;
option java_outer_classname = "Tensor... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/tensorflow_server.proto | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/trackable_object_graph.proto | syntax = "proto3";
package tensorflow;
import "google/protobuf/wrappers.proto";
option cc_enable_arenas = true;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// A TensorBundle addition which saves extra information about the objects which
// own variabl... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/transport_options.proto | syntax = "proto3";
package tensorflow;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Extra data needed on a non-RDMA RecvBufResponse.
message RecvBufRespExtra {
repeated bytes tensor_content = 1;
}
|
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/verifier_config.proto | syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "VerifierConfigProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/worker.proto | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
the-algorithm-main/navi/navi/proto/tensorflow/core/protobuf/worker_service.proto | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/classification.proto | syntax = "proto3";
option cc_enable_arenas = true;
import "tensorflow_serving/apis/input.proto";
import "tensorflow_serving/apis/model.proto";
package tensorflow.serving;
// A single class.
message Class {
// Label or name of the class.
string label = 1;
// Score for this class (e.g., the probability the item... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/get_model_metadata.proto | syntax = "proto3";
package tensorflow.serving;
option cc_enable_arenas = true;
import "google/protobuf/any.proto";
import "tensorflow/core/protobuf/meta_graph.proto";
import "tensorflow_serving/apis/model.proto";
// Message returned for "signature_def" field.
message SignatureDefMap {
map<string, SignatureDef> sig... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/get_model_status.proto | syntax = "proto3";
package tensorflow.serving;
import "tensorflow_serving/apis/model.proto";
import "tensorflow_serving/apis/status.proto";
option cc_enable_arenas = true;
// GetModelStatusRequest contains a ModelSpec indicating the model for which
// to get status.
message GetModelStatusRequest {
// Model Specif... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/inference.proto | // This file contains messages for various machine learning inferences
// such as regression and classification.
//
// In many applications more than one type of inference is desired for a single
// input. For example, given meteorologic data an application may want to
// perform a classification to determine if we sh... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/input.proto | // Input used in serving APIs. Based on the tensorflow.Example family of
// feature representations.
syntax = "proto3";
option cc_enable_arenas = true;
import "tensorflow/core/example/example.proto";
package tensorflow.serving;
// Specifies one or more fully independent input Examples.
// See examples at:
// ... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/logging.proto | syntax = "proto3";
package tensorflow.serving;
import "tensorflow_serving/apis/model.proto";
import "tensorflow_serving/config/logging_config.proto";
option cc_enable_arenas = true;
// Metadata logged along with the request logs.
message LogMetadata {
ModelSpec model_spec = 1;
SamplingConfig sampling_config = 2... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/model.proto | syntax = "proto3";
package tensorflow.serving;
option cc_enable_arenas = true;
import "google/protobuf/wrappers.proto";
// Metadata for an inference request such as the model name and version.
message ModelSpec {
// Required servable name.
string name = 1;
// Optional choice of which version of the model to u... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/model_management.proto | syntax = "proto3";
package tensorflow.serving;
import "tensorflow_serving/apis/status.proto";
import "tensorflow_serving/config/model_server_config.proto";
option cc_enable_arenas = true;
message ReloadConfigRequest {
ModelServerConfig config = 1;
}
message ReloadConfigResponse {
StatusProto status = 1;
}
|
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/model_service.proto | syntax = "proto3";
option cc_enable_arenas = true;
import "tensorflow_serving/apis/get_model_status.proto";
import "tensorflow_serving/apis/model_management.proto";
package tensorflow.serving;
// ModelService provides methods to query and update the state of the server,
// e.g. which models/versions are being serve... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/predict.proto | syntax = "proto3";
package tensorflow.serving;
option cc_enable_arenas = true;
import "tensorflow/core/framework/tensor.proto";
import "tensorflow_serving/apis/model.proto";
// PredictRequest specifies which TensorFlow model to run, as well as
// how inputs are mapped to tensors and how outputs are filtered before
/... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/prediction_log.proto | syntax = "proto3";
package tensorflow.serving;
import "tensorflow_serving/apis/classification.proto";
import "tensorflow_serving/apis/inference.proto";
import "tensorflow_serving/apis/logging.proto";
import "tensorflow_serving/apis/predict.proto";
import "tensorflow_serving/apis/regression.proto";
import "tensorflow_... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/prediction_service.proto | syntax = "proto3";
package tensorflow.serving;
option cc_enable_arenas = true;
import "tensorflow_serving/apis/classification.proto";
import "tensorflow_serving/apis/get_model_metadata.proto";
import "tensorflow_serving/apis/inference.proto";
import "tensorflow_serving/apis/predict.proto";
import "tensorflow_serving/... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/regression.proto | syntax = "proto3";
option cc_enable_arenas = true;
import "tensorflow_serving/apis/input.proto";
import "tensorflow_serving/apis/model.proto";
package tensorflow.serving;
// Regression result for a single item (tensorflow.Example).
message Regression {
float value = 1;
}
// Contains one result per input example,... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/session_service.proto | syntax = "proto3";
package tensorflow.serving;
import "tensorflow/core/protobuf/config.proto";
import "tensorflow/core/protobuf/named_tensor.proto";
import "tensorflow_serving/apis/model.proto";
option cc_enable_arenas = true;
message SessionRunRequest {
// Model Specification. If version is not specified, will u... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/apis/status.proto | syntax = "proto3";
package tensorflow.serving;
import "tensorflow/core/protobuf/error_codes.proto";
option cc_enable_arenas = true;
// Status that corresponds to Status in
// third_party/tensorflow/core/lib/core/status.h.
message StatusProto {
// Error code.
error.Code error_code = 1 [json_name = "error_code"];... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/config/file_system_storage_path_source.proto | syntax = "proto3";
package tensorflow.serving;
// Config proto for FileSystemStoragePathSource.
message FileSystemStoragePathSourceConfig {
// A policy that dictates which version(s) of a servable should be served.
message ServableVersionPolicy {
// Serve the latest versions (i.e. the ones with the highest ve... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/config/log_collector_config.proto | syntax = "proto3";
package tensorflow.serving;
option cc_enable_arenas = true;
message LogCollectorConfig {
// Identifies the type of the LogCollector we will use to collect these logs.
string type = 1;
// The prefix to use for the filenames of the logs.
string filename_prefix = 2;
}
|
the-algorithm-main/navi/navi/proto/tensorflow_serving/config/logging_config.proto | syntax = "proto3";
package tensorflow.serving;
option cc_enable_arenas = true;
import "tensorflow_serving/config/log_collector_config.proto";
message SamplingConfig {
// Requests will be logged uniformly at random with this probability. Valid
// range: [0, 1.0].
double sampling_rate = 1;
}
// Configuration fo... |
the-algorithm-main/navi/navi/proto/tensorflow_serving/config/model_server_config.proto | syntax = "proto3";
package tensorflow.serving;
import "google/protobuf/any.proto";
import "tensorflow_serving/config/file_system_storage_path_source.proto";
import "tensorflow_serving/config/logging_config.proto";
option cc_enable_arenas = true;
// The type of model.
// TODO(b/31336131): DEPRECATED.
enum ModelType ... |
the-algorithm-main/navi/navi/scripts/run_onnx.sh | #!/bin/sh
#RUST_LOG=debug LD_LIBRARY_PATH=so/onnx/lib target/release/navi_onnx --port 30 --num-worker-threads 8 --intra-op-parallelism 8 --inter-op-parallelism 8 \
RUST_LOG=info LD_LIBRARY_PATH=so/onnx/lib cargo run --bin navi_onnx --features onnx -- \
--port 8030 --num-worker-threads 8 \
--model-check-interval... |
the-algorithm-main/navi/navi/scripts/run_tf2.sh | #!/bin/sh
RUST_LOG=info LD_LIBRARY_PATH=so/tf2 cargo run --bin navi --features tf -- --port 30 --num-worker-threads 8 --intra-op-parallelism 8 --inter-op-parallelism 8 \
--model-check-interval-secs 30 \
--model-dir models/click/ \
--input "" \
--output output_0
|
the-algorithm-main/navi/navi/src/batch.rs | use arrayvec::ArrayVec;
use itertools::Itertools;
use log::info;
use std::sync::Arc;
use tokio::sync::oneshot::Sender;
use tokio::time::Instant;
use crate::bootstrap::{TensorInput, TensorInputEnum};
use crate::cli_args::{ARGS, MODEL_SPECS};
use crate::{Callback, MAX_NUM_INPUTS, PredictResult};
use crate::metrics::{
... |
the-algorithm-main/navi/navi/src/bin/navi.rs | use anyhow::Result;
use log::info;
use navi::cli_args::{ARGS, MODEL_SPECS};
use navi::cores::validator::validatior::cli_validator;
use navi::tf_model::tf::TFModel;
use navi::{bootstrap, metrics};
use sha256::digest;
fn main() -> Result<()> {
env_logger::init();
cli_validator::validate_input_args();
//only ... |
the-algorithm-main/navi/navi/src/bin/navi_onnx.rs | use anyhow::Result;
use log::info;
use navi::cli_args::{ARGS, MODEL_SPECS};
use navi::onnx_model::onnx::OnnxModel;
use navi::{bootstrap, metrics};
fn main() -> Result<()> {
env_logger::init();
info!("global: {:?}", ARGS.onnx_global_thread_pool_options);
let assert_session_params = if ARGS.onnx_global_threa... |
the-algorithm-main/navi/navi/src/bin/navi_torch.rs | use anyhow::Result;
use log::info;
use navi::cli_args::ARGS;
use navi::metrics;
use navi::torch_model::torch::TorchModel;
fn main() -> Result<()> {
env_logger::init();
//torch only has global threadpool settings versus tf has per model threadpool settings
assert_eq!(1, ARGS.inter_op_parallelism.len());
... |
the-algorithm-main/navi/navi/src/bootstrap.rs | use anyhow::Result;
use log::{info, warn};
use x509_parser::{prelude::{parse_x509_pem}, parse_x509_certificate};
use std::collections::HashMap;
use tokio::time::Instant;
use tonic::{
Request,
Response, Status, transport::{Certificate, Identity, Server, ServerTlsConfig},
};
// protobuf related
use crate::tf_pro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.