Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for x_batch_indices (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

      for (int batch_idx : llvm::seq<int>(0, bcast.output_batch_size())) {
        int lhs_batch_idx, rhs_batch_idx;
        if (bcast.IsBroadcastingRequired()) {
          lhs_batch_idx = bcast.x_batch_indices()[batch_idx];
          rhs_batch_idx = bcast.y_batch_indices()[batch_idx];
        } else {
          lhs_batch_idx = batch_idx;
          rhs_batch_idx = batch_idx;
        }
        auto matmul = rewriter.create<TF::MatMulOp>(loc, matmul_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/array_grad.cc

             Output(Tile(scope, one,
                         ExpandDims(scope, Sub(scope, indices_ndims, dim), 0)))},
            /*axis=*/0);
        batch_indices =
            Add(scope, batch_indices, Reshape(scope, dim_indices, dim_shape));
      }
    
      return batch_indices;
    }
    
    Output BatchGatherGrad(const Scope& scope, Output params_shape, Output values,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
Back to top