Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sparse_indices (0.36 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_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: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top