MCPcopy Create free account

hub / github.com/ProvableHQ/python-sdk / functions

Functions424 in github.com/ProvableHQ/python-sdk

↓ 1 callersMethodnew_struct
(kv: Vec<(Identifier, Plaintext)>)
sdk/src/account/text.rs:99
↓ 1 callersMethodprivate_key
Returns an account private key.
sdk/src/account/mod.rs:76
↓ 1 callersMethodprogram_id
Returns the program ID.
sdk/src/programs/locator.rs:51
↓ 1 callersMethodprove_execution
Returns a new execution with a proof, for the current inclusion assignments and global state root.
sdk/src/programs/trace.rs:57
↓ 1 callersMethodprove_fee
Returns a new fee with a proof, for the current inclusion assignment and global state root.
sdk/src/programs/trace.rs:66
↓ 1 callersFunctionprune_pytorch_network
( model, weight_threshold=1e-1, bias_threshold=1e-1 )
zkml/tests/helper.py:90
↓ 1 callersFunctionpytorch_to_sklearn
(pytorch_model)
zkml/tests/helper.py:664
↓ 1 callersMethodrandom
()
sdk/src/algebra/field.rs:45
↓ 1 callersMethodrest
(url: String)
sdk/src/programs/query.rs:30
↓ 1 callersMethodsign
(private_key: &PrivateKey, message: &[u8])
sdk/src/account/signature.rs:59
↓ 1 callersMethodto_address
Returns the address corresponding to the view key.
sdk/src/account/view_key.rs:52
↓ 1 callersMethodto_json
Serialize the given ProverSolution as a JSON string.
sdk/src/coinbase/prover_solution.rs:44
↓ 1 callersMethodto_json
Serialize the given EpochChallenge as a JSON string.
sdk/src/coinbase/epoch_challenge.rs:91
↓ 1 callersMethodto_json
Serialize the given Execution as a JSON string.
sdk/src/programs/execution.rs:43
↓ 1 callersMethodto_json
Serialize the given Transition as a JSON string.
sdk/src/programs/transition.rs:78
↓ 1 callersMethodto_json
Serialize the given Authorization as a JSON string.
sdk/src/programs/authorization.rs:36
↓ 1 callersMethodto_json
Serialize the given Transaction as a JSON string.
sdk/src/programs/transaction.rs:45
↓ 1 callersMethodtransitions
Returns the list of transitions.
sdk/src/programs/trace.rs:47
↓ 1 callersMethodtranspile
Transpile a model to Leo. Parameters ---------- project_name : str The name of the project. mode
zkml/zkml/_model_transpiler.py:483
↓ 1 callersMethodtype_name
Returns the type of the literal.
sdk/src/programs/literal.rs:124
↓ 1 callersMethodverify_execution
Verifies the given execution is valid. Note: This does not check that the global state root exists in the ledger.
sdk/src/programs/process.rs:160
↓ 1 callersMethodverify_fee
Verifies the given fee is valid. Note: This does not check that the global state root exists in the ledger.
sdk/src/programs/process.rs:165
↓ 1 callersMethodverifying_key
Returns the coinbase verifying key.
sdk/src/coinbase/puzzle.rs:34
↓ 1 callersMethodview_key
Returns an account view key.
sdk/src/account/mod.rs:81
Method__bool__
(&self)
sdk/src/algebra/boolean.rs:43
Method__eq__
(&self, other: &Self)
sdk/src/coinbase/prover_solution.rs:79
Method__eq__
(&self, other: &Self)
sdk/src/coinbase/epoch_challenge.rs:111
Method__eq__
(&self, other: &Self)
sdk/src/algebra/scalar.rs:53
Method__eq__
(&self, other: &Self)
sdk/src/algebra/group.rs:53
Method__eq__
(&self, other: &Self)
sdk/src/algebra/boolean.rs:47
Method__eq__
(&self, other: &Self)
sdk/src/algebra/field.rs:86
Method__eq__
(&self, other: &Self)
sdk/src/programs/value.rs:58
Method__eq__
(&self, other: &Self)
sdk/src/programs/verifying_key.rs:53
Method__eq__
(&self, other: &Self)
sdk/src/programs/program.rs:77
Method__eq__
(&self, other: &Self)
sdk/src/programs/locator.rs:75
Method__eq__
(&self, other: &Self)
sdk/src/programs/fee.rs:78
Method__eq__
(&self, other: &Self)
sdk/src/programs/identifier.rs:46
Method__eq__
(&self, other: &Self)
sdk/src/programs/literal.rs:133
Method__eq__
(&self, other: &Self)
sdk/src/programs/proving_key.rs:53
Method__eq__
(&self, other: &Self)
sdk/src/programs/transaction.rs:65
Method__eq__
(&self, other: &Self)
sdk/src/programs/program_id.rs:61
Method__eq__
(&self, other: &Self)
sdk/src/account/signature.rs:76
Method__eq__
(&self, other: &Self)
sdk/src/account/mod.rs:114
Method__eq__
(&self, other: &Self)
sdk/src/account/text.rs:59
Method__eq__
(&self, other: &Self)
sdk/src/account/view_key.rs:61
Method__eq__
(&self, other: &Self)
sdk/src/account/address.rs:46
Method__eq__
(&self, other: &Self)
sdk/src/account/private_key.rs:101
Method__eq__
(&self, other: &Self)
sdk/src/account/record.rs:108
Method__float__
(&self)
sdk/src/credits/mod.rs:39
Method__hash__
(&self)
sdk/src/coinbase/prover_solution.rs:83
Method__hash__
(&self)
sdk/src/algebra/scalar.rs:57
Method__hash__
(&self)
sdk/src/algebra/group.rs:57
Method__hash__
(&self)
sdk/src/algebra/boolean.rs:51
Method__hash__
(&self)
sdk/src/algebra/field.rs:90
Method__hash__
(&self)
sdk/src/programs/locator.rs:79
Method__hash__
(&self)
sdk/src/programs/identifier.rs:50
Method__hash__
(&self)
sdk/src/programs/literal.rs:137
Method__hash__
(&self)
sdk/src/programs/program_id.rs:65
Method__hash__
(&self)
sdk/src/account/signature.rs:80
Method__hash__
(&self)
sdk/src/account/mod.rs:118
Method__hash__
(&self)
sdk/src/account/view_key.rs:65
Method__hash__
(&self)
sdk/src/account/address.rs:50
Method__hash__
(&self)
sdk/src/account/private_key.rs:105
Method__init__
(self, input_dim, hidden_dim, output_dim)
zkml/tests/helper.py:16
Method__init__
(self, model, validation_data, pre_set_fixed_point_scaling_factor)
zkml/zkml/_model_transpiler.py:35
Method__init__
(self, model, validation_data, pre_set_fixed_point_scaling_factor)
zkml/zkml/_model_transpiler.py:242
Method__init__
(self, inputs, horizontal_position, hierarchy, parent_struct=None)
zkml/zkml/_input_generator.py:10
Method__init__
(self, value, leo_type, active, name)
zkml/zkml/_input_generator.py:110
Method__init__
(self)
zkml/zkml/_input_generator.py:129
Method__init__
Leo type. Parameters ---------- value : int The value of the Leo type. type : str The Leo typ
zkml/zkml/_leo_helper.py:36
Method__init__
Initialize the LeoTranspiler with the given parameters. Parameters ---------- model : BaseEstimator The ML model
zkml/zkml/leo_transpiler.py:33
Method__init__
( self, input, output, circuit_constraints, active_input_count,
zkml/zkml/_computation_base.py:17
Method__init__
( self, input, output, circuit_constraints, active_input_count,
zkml/zkml/_computation_base.py:53
Method__int__
(&self)
sdk/src/credits/mod.rs:63
Method__mul__
(&self, other: Self)
sdk/src/algebra/field.rs:74
Method__str__
Returns the ProverSolution as a JSON string.
sdk/src/coinbase/prover_solution.rs:75
Method__str__
Returns the EpochChallenge as a JSON string.
sdk/src/coinbase/epoch_challenge.rs:107
Method__str__
(&self)
sdk/src/credits/mod.rs:35
Method__str__
Returns the Scalar as a string.
sdk/src/algebra/scalar.rs:49
Method__str__
Returns the Group as a string.
sdk/src/algebra/group.rs:49
Method__str__
Returns the boolean as a string.
sdk/src/algebra/boolean.rs:39
Method__str__
Returns the Field as a string.
sdk/src/algebra/field.rs:70
Method__str__
Returns the value as a string.
sdk/src/programs/value.rs:54
Method__str__
Returns the verifying key as a string.
sdk/src/programs/verifying_key.rs:49
Method__str__
Returns the program ID as a string
sdk/src/programs/program.rs:73
Method__str__
Returns the Locator as a string.
sdk/src/programs/locator.rs:71
Method__str__
Returns the Fee as a JSON string.
sdk/src/programs/fee.rs:74
Method__str__
Returns the Execution as a JSON string.
sdk/src/programs/execution.rs:59
Method__str__
Returns the identifier as a string.
sdk/src/programs/identifier.rs:42
Method__str__
Returns the literal as a string.
sdk/src/programs/literal.rs:129
Method__str__
Returns the Transition as a JSON string.
sdk/src/programs/transition.rs:94
Method__str__
Returns the proving key as a string.
sdk/src/programs/proving_key.rs:49
Method__str__
Returns the Authorization as a JSON string.
sdk/src/programs/authorization.rs:52
Method__str__
Returns the Transaction as a JSON string.
sdk/src/programs/transaction.rs:61
Method__str__
Returns the program ID as a string.
sdk/src/programs/program_id.rs:57
Method__str__
Returns a string representation of the signature.
sdk/src/account/signature.rs:72
Method__str__
(&self)
sdk/src/account/mod.rs:110
Method__str__
Returns the ciphertext as a string.
sdk/src/account/text.rs:55
Method__str__
Returns the view key as a base58 string.
sdk/src/account/view_key.rs:57
Method__str__
Returns the address as a base58 string.
sdk/src/account/address.rs:42
← previousnext →101–200 of 424, ranked by callers