Skip to content

Commit 2b633eb

Browse files
committed
remove doubled commits
1 parent 8f594d1 commit 2b633eb

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

packages/react-native-executorch/common/rnexecutorch/models/text_to_speech/kokoro/Decoder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ namespace rnexecutorch::models::text_to_speech::kokoro {
1414

1515
class Decoder : public BaseModel {
1616
public:
17-
Decoder(const std::string &modelSource,
18-
std::shared_ptr<react::CallInvoker> callInvoker);
17+
explicit Decoder(const std::string &modelSource,
18+
std::shared_ptr<react::CallInvoker> callInvoker);
1919

2020
Result<std::vector<EValue>>
2121
generate(const std::string &method, const Configuration &inputConfig,

packages/react-native-executorch/common/rnexecutorch/models/text_to_speech/kokoro/DurationPredictor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ using executorch::aten::Tensor;
1717

1818
class DurationPredictor : public BaseModel {
1919
public:
20-
DurationPredictor(const std::string &modelSource,
21-
std::shared_ptr<react::CallInvoker> callInvoker);
20+
explicit DurationPredictor(const std::string &modelSource,
21+
std::shared_ptr<react::CallInvoker> callInvoker);
2222

2323
// Returns a tuple (d, indices, effectiveDuration)
2424
std::tuple<Tensor, std::vector<int64_t>, int32_t>

packages/react-native-executorch/common/rnexecutorch/models/text_to_speech/kokoro/Encoder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ namespace rnexecutorch::models::text_to_speech::kokoro {
1414

1515
class Encoder : public BaseModel {
1616
public:
17-
Encoder(const std::string &modelSource,
18-
std::shared_ptr<react::CallInvoker> callInvoker);
17+
explicit Encoder(const std::string &modelSource,
18+
std::shared_ptr<react::CallInvoker> callInvoker);
1919

2020
Result<std::vector<EValue>> generate(const std::string &method,
2121
const Configuration &inputConfig,

packages/react-native-executorch/common/rnexecutorch/models/text_to_speech/kokoro/F0NPredictor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ namespace rnexecutorch::models::text_to_speech::kokoro {
1414

1515
class F0NPredictor : public BaseModel {
1616
public:
17-
F0NPredictor(const std::string &modelSource,
18-
std::shared_ptr<react::CallInvoker> callInvoker);
17+
explicit F0NPredictor(const std::string &modelSource,
18+
std::shared_ptr<react::CallInvoker> callInvoker);
1919

2020
Result<std::vector<EValue>> generate(const std::string &method,
2121
const Configuration &inputConfig,

0 commit comments

Comments
 (0)