Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AsUint16Vector (0.18 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        return sparse_index_vector.AsInt32Vector()->values;
      } else if (sparse_index_vector.type ==
                 tflite::SparseIndexVector_Uint16Vector) {
        const auto& inputs = sparse_index_vector.AsUint16Vector()->values;
        std::vector<int32_t> outputs(inputs.size());
        std::transform(inputs.begin(), inputs.end(), outputs.begin(),
                       [](auto x) { return static_cast<int32_t>(x); });
        return outputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema_generated.h

          reinterpret_cast<const tflite::Int32VectorT *>(value) : nullptr;
      }
      tflite::Uint16VectorT *AsUint16Vector() {
        return type == SparseIndexVector_Uint16Vector ?
          reinterpret_cast<tflite::Uint16VectorT *>(value) : nullptr;
      }
      const tflite::Uint16VectorT *AsUint16Vector() const {
        return type == SparseIndexVector_Uint16Vector ?
          reinterpret_cast<const tflite::Uint16VectorT *>(value) : nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top