Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 104 for internalError (0.18 sec)

  1. tensorflow/compiler/mlir/lite/sparsity/sparsify_model.cc

        return absl::InternalError("Couldn't import flatbuffer to MLIR.");
      }
    
      PassManager pm((*module)->getName(), OpPassManager::Nesting::Implicit);
      pm.addPass(TFL::CreateDenseToSparsePass());
    
      if (failed(pm.run(module.get()))) {
        LOG(ERROR) << "Failed to sparsify: "
                   << statusHandler.ConsumeStatus().message();
        return absl::InternalError(absl::StrCat(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:16:40 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/io.h

    // Creates a temporary directory on an environment defined by the implementation
    // of `tsl::Env` and returns its path. Returns an InternalError status if
    // failed.
    absl::StatusOr<std::string> CreateTmpDir(tsl::Env* env);
    
    // Creates a temporary directory and returns its path. Returns an InternalError
    // status if failed. The file system used will be the default environment
    // returned by `tsl::Env::Default`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization.go

    		ctx := req.Context()
    		authorizationStart := time.Now()
    
    		attributes, err := GetAuthorizerAttributes(ctx)
    		if err != nil {
    			responsewriters.InternalError(w, req, err)
    			return
    		}
    		authorized, reason, err := a.Authorize(ctx, attributes)
    
    		authorizationFinish := time.Now()
    		defer func() {
    			metrics(ctx, authorized, err, authorizationStart, authorizationFinish)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/LocationAwareScriptEvaluationIntegrationTest.kt

    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Test
    
    
    class LocationAwareScriptEvaluationIntegrationTest : AbstractKotlinIntegrationTest() {
    
        private
        val boom = """throw InternalError("BOOM!")"""
    
        @Test
        fun `location of exception thrown from build script is reported`() {
    
            withSettings("""include("a")""")
            val script = withBuildScriptIn("a", boom)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors_test.go

    		{
    			func() *Error { return NotFound(NewPath("f"), "v") },
    			ErrorTypeNotFound,
    		},
    		{
    			func() *Error { return Required(NewPath("f"), "d") },
    			ErrorTypeRequired,
    		},
    		{
    			func() *Error { return InternalError(NewPath("f"), fmt.Errorf("e")) },
    			ErrorTypeInternal,
    		},
    	}
    
    	for _, testCase := range testCases {
    		err := testCase.fn()
    		if err.Type != testCase.expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc

        exported_names.push_back(key);
      }
    
      if (failed(mlir::tf_saved_model::FreezeVariables(
              module_op, saved_model_bundle->GetSession()))) {
        return absl::InternalError("Failed to freeze variables.");
      }
    
      // Run legalize TF to StableHLO pass to convert `tf.Const` and
      // `tf.Const`->`tf.Cast` patterns after variable freezing. The TF shape
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 10:49:12 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc

        mlir::StringRef id = aggregator_op.getId();
        auto iter = statistics_map.find(id);
        if (iter == statistics_map.end()) {
          status = absl::InternalError(
              absl::StrFormat("Calibrated data does not exist. Cannot find "
                              "statistics. value for id: %s",
                              id));
          return;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

        const auto status = quantization::PreprocessAndFreezeGraph(
            module, module.getContext(), session);
        if (!status.ok()) {
          return status_handler.Combine(
              absl::InternalError("Failed to preprocess & freeze TF graph."));
        }
    
        // TODO: b/264218457 - Refactor the component below once StableHLO Quantizer
        // can run DRQ. Temporarily using TF Quantization for StableHLO DRQ.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	ErrorTypeTooMany ErrorType = "FieldValueTooMany"
    	// ErrorTypeInternal is used to report other errors that are not related
    	// to user input.  See InternalError().
    	ErrorTypeInternal ErrorType = "InternalError"
    	// ErrorTypeTypeInvalid is for the value did not match the schema type for that field
    	ErrorTypeTypeInvalid ErrorType = "FieldValueTypeInvalid"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/revived_types/asset.cc

      std::string abs_path =
          io::JoinPath(saved_model_dir, kSavedModelAssetsDirectory, asset_filename);
      AbstractTensorPtr tensor(ctx->CreateStringScalar(abs_path));
      if (tensor.get() == nullptr) {
        return absl::InternalError(absl::StrCat(
            "Failed to create scalar string tensor for Asset at path ", abs_path));
      }
    
      ImmediateTensorHandlePtr handle(ctx->CreateLocalHandle(tensor.get()));
      output->reset(new Asset(std::move(handle)));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top