Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for internalError (0.17 sec)

  1. tensorflow/compiler/jit/get_compiler_ir.cc

      // that requires compilation from HLO to executable.
      if (device_type != DEVICE_CPU && stream == nullptr &&
          !is_tfrt_tpu_supported_stage(stage)) {
        return absl::InternalError(
            "GetCompilerIr with requested stage is not supported on this device.");
      }
      return absl::OkStatus();
    }
    
    absl::StatusOr<std::vector<XlaCompiler::Argument>> PrepareXlaCompilerArgs(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

    import org.gradle.api.logging.LoggingManager
    import org.gradle.api.resources.ResourceHandler
    import org.gradle.api.tasks.WorkResult
    import org.gradle.internal.deprecation.DeprecationLogger
    import org.gradle.kotlin.dsl.support.internalError
    import org.gradle.kotlin.dsl.support.serviceOf
    import org.gradle.kotlin.dsl.support.unsafeLazy
    import org.gradle.process.ExecResult
    import org.gradle.process.ExecSpec
    import org.gradle.process.JavaExecSpec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

        if (num_submodules > 1) {
          return mlir::WalkResult::interrupt();
        }
    
        return mlir::WalkResult::advance();
      });
    
      if (num_submodules > 1) {
        auto num_submodules_error = absl::InternalError(
            "V1 Compat Bridge has more than one submodule. Erroring out.");
        TF_RETURN_IF_ERROR(RecordStatusIfError(
            /*error_prefix=*/"Bridge has more than one submodule:",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/codegen.cc

      for (int i = 0; i < ps.parameters_size(); ++i) {
        const xla::ShapeProto& shape = ps.parameters(i);
        if (shape.element_type() == xla::TUPLE) {
          // ShapeInfo cannot represent tuple args.
          return absl::InternalError(
              absl::StrCat("parameter ", i,
                           ": codegen requires XLA parameters to "
                           "be non-tuples."));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. src/go/printer/printer.go

    	nodeSizes map[ast.Node]int
    
    	// Cache of most recently computed line position.
    	cachedPos  token.Pos
    	cachedLine int // line corresponding to cachedPos
    }
    
    func (p *printer) internalError(msg ...any) {
    	if debug {
    		fmt.Print(p.pos.String() + ": ")
    		fmt.Println(msg...)
    		panic("go/printer")
    	}
    }
    
    // commentsHaveNewline reports whether a list of comments belonging to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

                         mlir::tf_saved_model::TensorFlowSavedModelDialect>();
      }
    
      absl::StatusOr<std::string> MakeTempDir() {
        std::string tmp_dir{};
        if (!env_->LocalTempFilename(&tmp_dir)) {
          return absl::InternalError("Failed to create temp file.");
        }
    
        TF_CHECK_OK(env_->CreateDir(tmp_dir));
        return tmp_dir;
      }
    
      // Parses `module_op_str` to create a `ModuleOp`. Checks whether the created
      // module op is valid.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. tensorflow/c/kernels_experimental.cc

      auto* context = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      tensorflow::ResourceMgr* rm = context->resource_manager();
      OP_REQUIRES(context, rm,
                  absl::InternalError("No per-step resource manager."));
    
      std::string unique_name =
          TemporaryVariableName(var_name->data, context->frame_iter());
      auto* tmp_var = new TmpVar;
      OP_REQUIRES(context, tmp_var,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    			return field.Required(fldPath, celErr.Detail)
    		case cel.ErrorTypeInvalid:
    			return field.Invalid(fldPath, expression, celErr.Detail)
    		default:
    			return field.InternalError(fldPath, celErr)
    		}
    	}
    	return field.InternalError(fldPath, fmt.Errorf("error is not cel error: %w", err))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler.go

    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		ctx := r.Context()
    		requestInfo, ok := apirequest.RequestInfoFrom(ctx)
    
    		if !ok {
    			responsewriters.InternalError(w, r, errors.New("no RequestInfo found in the context"))
    			return
    		}
    
    		// Allow non-resource requests
    		if !requestInfo.IsResourceRequest {
    			klog.V(3).Infof("Not a resource request skipping proxying")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    			ruleActivation = optionalOldSelfActivation
    		}
    
    		evalResult, evalDetails, err := compiled.Program.ContextEval(ctx, ruleActivation)
    		if evalDetails == nil {
    			errs = append(errs, field.InternalError(fldPath, fmt.Errorf("runtime cost could not be calculated for validation rule: %v, no further validation rules will be run", ruleErrorString(rule))))
    			return errs, -1
    		} else {
    			rtCost := evalDetails.ActualCost()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top