| 864 | return component; |
| 865 | } |
| 866 | |
| 867 | S3TokenizerComponent::S3TokenizerComponent( |
| 868 | std::shared_ptr<const S3TokenizerComponentWeights> weights, |
| 869 | const engine::core::ExecutionContext & execution_context) |
| 870 | : weights_(std::move(weights)), execution_context_(&execution_context) {} |
| 871 | |
| 872 | const engine::core::BackendConfig & S3TokenizerComponent::backend() const noexcept { |
| 873 | return execution_context_->config(); |
| 874 | } |
| 875 | |
| 876 | const std::shared_ptr<const S3TokenizerComponentWeights> & S3TokenizerComponent::weights() const noexcept { |
| 877 | return weights_; |
| 878 | } |
no test coverage detected