Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sparse_indices (0.14 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    ```
    # If sparse_indices is scalar
    dense[i] = (i == sparse_indices ? sparse_values : default_value)
    
    # If sparse_indices is a vector, then for each i
    dense[sparse_indices[i]] = sparse_values[i]
    
    # If sparse_indices is an n by d matrix, then for each i in [0, n)
    dense[sparse_indices[i][0], ..., sparse_indices[i][d-1]] = sparse_values[i]
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

                              << "the length of attribute 'sparse_types'";
      }
      if (op.getSparseIndices().size() != sparse_types_count) {
        return op.emitError() << "output 'sparse_indices' should have same length "
                              << "as attribute 'sparse_types'";
      }
      if (op.getSparseShapes().size() != sparse_types_count) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      // expected-error @+1 {{output 'sparse_indices' should have same length as attribute 'sparse_types'}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top