Skip to main content
torch.js has not been released yet.
torch.js logotorch.js logotorch.js
PlaygroundContact
Login
Documentation
IntroductionType SafetyTensor ExpressionsTensor IndexingEinsumEinopsAutogradTraining a ModelProfiling & MemoryPyTorch MigrationBest PracticesRuntimesPerformancePyTorch CompatibilityBenchmarksDType Coverage
torch.js· 2026
LegalTerms of UsePrivacy Policy
/
/
  1. docs
  2. Spark
  3. spark
  4. SparkLoadOptions

spark.SparkLoadOptions

export interface SparkLoadOptions {
  /**
   * Expected content type.
   *
   * Sent as Accept header in the request.
   */
  contentType?: string;
}
contentType(string)optional
– Expected content type. Sent as Accept header in the request.

Options for loading files.

Previous
SparkExposedValue
Next
SparkMessage