Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DefaultPaddedShapeFn (1.03 sec)

  1. tensorflow/compiler/jit/xla_device.cc

    namespace tensorflow {
    
    // Default PaddedShapeFn implementation that simply returns the unpadded
    // on-device shape. This is accurate for CPU and GPU devices that neither
    // transpose nor pad tensors.
    Status DefaultPaddedShapeFn(const Tensor& tensor, xla::Shape* shape) {
      const tensorflow::XlaTensor* xla_tensor =
          tensorflow::XlaTensor::FromTensor(&tensor);
      if (xla_tensor == nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top