Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTfGraphProducerVersion (0.39 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

               << "failed to create XlaContext resource: " << status.ToString();
      }
      params_.step_container = step_container_.get();
    
      absl::StatusOr<int64_t> version_or = tensorflow::GetTfGraphProducerVersion(
          op_->getParentOfType<mlir::ModuleOp>());
      if (!version_or.ok()) {
        return emitError(op_->getLoc()) << version_or.status().ToString();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          mlir::mhlo::createSinkConstantsToControlFlowPass());
    }
    
    Status RefineShapes(llvm::ArrayRef<TensorOrResourceShape> arg_shapes,
                        mlir::ModuleOp module) {
      auto producer_or = GetTfGraphProducerVersion(module);
      if (!producer_or.ok()) return producer_or.status();
      int64_t producer_version = producer_or.value();
    
      llvm::SmallVector<int64_t, 16> shape_backing;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top