Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_TensorBitcastFrom (0.43 sec)

  1. tensorflow/c/kernels/bitcast_op.cc

          --new_dim_count;
        }
    
        TF_Tensor* output = TF_AllocateTensor(k->output_data_type, dims, 0,
                                              TF_DataTypeSize(k->output_data_type));
        TF_TensorBitcastFrom(tensor, k->output_data_type, output, dims,
                             new_dim_count, status);
        if (TF_GetCode(status) == TF_OK) {
          TF_SetOutput(ctx, 0, output, status);
        }
        delete[] dims;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/c/tf_tensor.h

    //   * TF_DataTypeSize(TF_TensorType(from)) != 0
    //   * TF_DataTypeSize(type) != 0
    //
    // If any of the requirements are not met, *status is set to
    // TF_INVALID_ARGUMENT.
    TF_CAPI_EXPORT extern void TF_TensorBitcastFrom(const TF_Tensor* from,
                                                    TF_DataType type, TF_Tensor* to,
                                                    const int64_t* new_dims,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 16:40:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top