Skip to content

Commit

Permalink
#0: fix slice
Browse files Browse the repository at this point in the history
ntarafdar committed Jul 5, 2024
1 parent b2a5f54 commit 5ee242c
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions ttnn/cpp/ttnn/operations/data_movement/slice/slice.hpp
Original file line number Diff line number Diff line change
@@ -18,23 +18,6 @@ namespace data_movement {


struct ExecuteSlice {
static inline const std::array<TensorSchema, 1> input_tensor_schemas() {
return {ttnn::TensorSchema{
2, // min rank
4, // max rank
{ttnn::bfloat16, ttnn::bfloat8_b, ttnn::uint16, ttnn::int32, ttnn::uint32},
{ttnn::TILE_LAYOUT},
true, // can_be_on_device
false, // can_be_on_cpu
false, // can_be_scalar
false // is_optional}
}};
}

template <typename... Args>
static auto input_tensors_to_validate(const ttnn::Tensor& input_tensor, Args&&... args) {
return std::make_tuple(input_tensor);
}

static ttnn::Tensor execute_on_worker_thread(
uint8_t queue_id,

0 comments on commit 5ee242c

Please sign in to comment.