package spu.pb

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message CheetahConfig

spu.proto:413

Used in: RuntimeConfig

enum CheetahOtKind

spu.proto:407

Used in: CheetahConfig

message ClientSSLConfig

spu.proto:373

Used in: TTPBeaverConfig

message CompilationSource

spu.proto:429

message CompilerOptions

spu.proto:446

enum DataType

spu.proto:30

The SPU datatype

Used in: ValueMetaProto

message ExecutableProto

spu.proto:496

The executable format accepted by SPU runtime. - Inputs should be prepared before running executable. - Output is maintained after execution, and can be fetched by output name. ```python rt = spu.Runtime(...) # create an spu runtime. rt.set_var('x', ...) # set variable to the runtime. exe = spu.ExecutableProto( # prepare the executable. name = 'balabala', input_names = ['x'], output_names = ['y'], code = ...) rt.run(exe) # run the executable. y = rt.get_var('y') # get the executable from spu runtime. ```

enum FieldType

spu.proto:95

A security parameter type. The secure evaluation is based on some algebraic structure (ring or field),

Used in: RuntimeConfig

enum ProtocolKind

spu.proto:103

The protocol kind.

Used in: RuntimeConfig

enum PtType

spu.proto:70

Plaintext type SPU runtime does not process with plaintext directly, plaintext type is mainly used for IO purposes, when converting a plaintext buffer to an SPU buffer, we have to let spu know which type the plaintext buffer is.

message RuntimeConfig

spu.proto:162

The SPU runtime configuration.

enum RuntimeConfig.BeaverType

spu.proto:316

Used in: RuntimeConfig

enum RuntimeConfig.ExpMode

spu.proto:256

The exponential approximation method.

Used in: RuntimeConfig

enum RuntimeConfig.LogMode

spu.proto:271

The logarithm approximation method.

Used in: RuntimeConfig

enum RuntimeConfig.SigmoidMode

spu.proto:289

The sigmoid approximation method.

Used in: RuntimeConfig

enum RuntimeConfig.SortMethod

spu.proto:231

Used in: RuntimeConfig

message ShapeProto

spu.proto:61

@exclude The shape information.

Used in: ValueMetaProto

enum SourceIRType

spu.proto:424

//////////////////////////////////////////////////////////////////////// Compiler relate definition ////////////////////////////////////////////////////////////////////////

Used in: CompilationSource

message TTPBeaverConfig

spu.proto:387

Used in: RuntimeConfig

message ValueChunkProto

spu.proto:149

The spu Value proto, used for spu value serialization.

message ValueMetaProto

spu.proto:131

enum Visibility

spu.proto:52

The visibility type. SPU is a secure evaluation runtime, but not all data are secret, some of them are publicly known to all parties, marking them as public will improve performance significantly.

Used in: CompilationSource, ValueMetaProto

enum XLAPrettyPrintKind

spu.proto:440

Used in: CompilerOptions