Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for IgnoreError (0.32 sec)

  1. tensorflow/cc/training/coordinator.cc

      } else {
        for (const auto& code : clean_stop_errors) {
          clean_stop_errors_.insert(static_cast<int>(code));
        }
      }
    }
    
    Coordinator::~Coordinator() {
      RequestStop().IgnoreError();
      Join().IgnoreError();
    }
    
    Status Coordinator::RegisterRunner(std::unique_ptr<RunnerInterface> runner) {
      {
        mutex_lock l(mu_);
        if (should_stop_) {
          return Status(absl::StatusCode::kFailedPrecondition,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/loader.h

      /// A TensorFlow Session does not Close itself on destruction. To avoid
      /// resource leaks, we explicitly call Close on Sessions that we create.
      ~SavedModelBundle() override {
        if (session) {
          session->Close().IgnoreError();
        }
      }
    
      SavedModelBundle() = default;
    
      Session* GetSession() const override { return session.get(); }
      const protobuf::Map<string, SignatureDef>& GetSignatures() const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. tensorflow/cc/training/queue_runner.cc

      return absl::OkStatus();
    }
    
    QueueRunner::~QueueRunner() {
      // Cannot run Stop() here because the session might already be closed or
      // destroyed.
      Join().IgnoreError();
    }
    
    Status QueueRunner::Start(Session* sess) { return Start(sess, 0); }
    
    Status QueueRunner::StartAndCollectCostGraph(Session* sess,
                                                 const RunOptions& run_options) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc

            compilation_result.get()));
    
        DumpHloCompilationResult("legalize_tf_fallback.hlo",
                                 compilation_result.get())
            .IgnoreError();
        return *compilation_result;
      }
    
      auto combined_bridge_status = internal::LegalizeTfToHlo(
          std::get<0>(computation), metadata, use_tuple_args, device_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 00:40:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/saved_model_fuzz.cc

                                        export_dir + kSavedModelFilenamePb, model));
    
      LoadSavedModel(session_options, run_options, export_dir,
                     {kSavedModelTagServe}, &bundle)
          .IgnoreError();
    }
    FUZZ_TEST(SavedModelFuzz, FuzzLoadSavedModel);
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 09 23:47:46 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

          tensorflow::core::platform::ErrorSourceProto::MLIR_BRIDGE_PHASE_1,
          status);
    
      tsl::error_logging::Log(kBridgeComponent, bridge_subcomponent,
                              status.ToString())
          .IgnoreError();
    
      return status;
    }
    
    }  // namespace
    
    tensorflow::Status ExportFromTensorflowDialectToExecutor(
        ModuleOp module, llvm::StringRef module_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

          tensorflow::core::platform::ErrorSourceProto::MLIR_BRIDGE_PHASE_1,
          status);
    
      tsl::error_logging::Log(kBridgeComponent, bridge_subcomponent,
                              status.ToString())
          .IgnoreError();
    
      return status;
    }
    
    }  // namespace
    
    tensorflow::Status ExportFromTensorflowDialectToExecutor(
        ModuleOp module, llvm::StringRef module_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    	return nil
    }
    
    // Refresh updates the object with another object. If ignoreError is set
    // the Object will be updated even if name, namespace, or resourceVersion
    // attributes cannot be loaded from the object.
    func (i *Info) Refresh(obj runtime.Object, ignoreError bool) error {
    	name, err := metadataAccessor.Name(obj)
    	if err != nil {
    		if !ignoreError {
    			return err
    		}
    	} else {
    		i.Name = name
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_compilation_profiler.cc

      // excessive amount of shape dynamism.
      if (it->second.is_megamorphic) {
        BroadcastOptimizationRemark(XlaOptimizationRemark::MEGAMORPHIC_FUNCTION,
                                    function.name())
            .IgnoreError();
        VLOG(2) << "Not compiling cluster " << function.name()
                << " because it is megamorphic.";
        return false;
      }
    
      // TODO(b/255826209): Figure out if Lazy compilation is still needed given
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc

      }
    
      tsl::error_logging::Log(kBridgeComponent,
                              "TFXLA_API_V2_BRIDGE_WITH_FALLBACK_FAIL",
                              mlir_bridge_status.status().ToString())
          .IgnoreError();
    
      return mlir_bridge_status.status();
    }
    
    };  // namespace internal
    };  // namespace tf2xla
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top