Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for optref (0.05 sec)

  1. tensorflow/c/eager/immediate_execution_operation.h

      // Return true if the inputs contain custom device tensor handle. It means
      // that the argument need to be handled by a custom device.
      virtual bool HasCustomDeviceInput() const = 0;
    
      virtual const tensorflow::OpDef* OpDef() const = 0;
    
      virtual absl::Status InputLength(const char* input_name, int* length) = 0;
      virtual absl::Status OutputLength(const char* output_name, int* length) = 0;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      // Test we can retrieve function OpDef from graph
      TF_Buffer* buffer = TF_NewBuffer();
      TF_GraphGetOpDef(host_graph_, func_name_, buffer, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Sanity check returned OpDef
      string data(static_cast<const char*>(buffer->data), buffer->length);
      OpDef op_def;
      op_def.ParseFromString(data);
      EXPECT_EQ(op_def.name(), func_name_);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

                                               TF_Status* status) {
      const tensorflow::OpDef* op_def = nullptr;
      status->status =
          tensorflow::OpRegistry::Global()->LookUpOpDef(op_name, &op_def);
      if (!status->status.ok()) return nullptr;
    
      if (input_index >= op_def->input_arg_size() || input_index < 0) {
        status->status = tensorflow::errors::InvalidArgument(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. internal/handlers/forwarder.go

    // Modify the request to handle the target URL
    func (f *Forwarder) modifyRequest(outReq *http.Request, target *url.URL) {
    	outReq.URL = copyURL(outReq.URL)
    	outReq.URL.Scheme = target.Scheme
    	outReq.URL.Host = target.Host
    
    	u := f.getURLFromRequest(outReq)
    
    	outReq.URL.Path = u.Path
    	outReq.URL.RawPath = u.RawPath
    	outReq.URL.RawQuery = u.RawQuery
    	outReq.RequestURI = "" // Outgoing request should not have RequestURI
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

                          TF_Buffer* output_op_def, TF_Status* status) {
      const OpDef* op_def;
      {
        mutex_lock l(graph->mu);
        status->status = graph->graph.op_registry()->LookUpOpDef(op_name, &op_def);
        if (!status->status.ok()) return;
      }
      status->status = MessageToBuffer(*op_def, output_op_def);
    }
    
    void TF_GraphVersions(TF_Graph* graph, TF_Buffer* output_version_def,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            final String pref = ComponentUtil.getFessConfig().getQueryJsonDefaultPreference();
            if (PREFERENCE_QUERY.equals(pref)) {
                return Integer.toString(query.hashCode());
            }
            if (StringUtil.isNotBlank(pref)) {
                return pref;
            }
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. cni/pkg/install/kubeconfig.go

    	cluster := &api.Cluster{
    		Server: fmt.Sprintf("%s://%s", protocol, net.JoinHostPort(cfg.K8sServiceHost, cfg.K8sServicePort)),
    	}
    
    	if cfg.SkipTLSVerify {
    		// User explicitly opted into insecure.
    		cluster.InsecureSkipTLSVerify = true
    	} else {
    		caFile := model.GetOrDefault(cfg.KubeCAFile, cfg.K8sServiceAccountPath+"/ca.crt")
    		caContents, err := os.ReadFile(caFile)
    		if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    // Creates a new TF_ApiDefMap instance.
    //
    // Params:
    //  op_list_buffer - TF_Buffer instance containing serialized OpList
    //    protocol buffer. (See
    //    https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto
    //    for the OpList proto definition).
    //  status - Set to OK on success and an appropriate error on failure.
    TF_CAPI_EXPORT extern TF_ApiDefMap* TF_NewApiDefMap(TF_Buffer* op_list_buffer,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  9. docs/nl/docs/python-types.md

    Op hetzelfde moment probeer je de automatische aanvulling te activeren met `Ctrl+Spatie` en je ziet:
    
    <img src="/img/python-types/image02.png">
    
    Nu kun je de opties bekijken en er doorheen scrollen totdat je de optie vindt die “een belletje doet rinkelen”:
    
    <img src="/img/python-types/image03.png">
    
    ### Meer motivatie
    
    Bekijk deze functie, deze heeft al type hints:
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

        ASSERT_GE(op_list.op_size(), 1);
        typedef tensorflow::protobuf::RepeatedPtrField<tensorflow::OpDef> OpDefs;
        const OpDefs& ops = op_list.op();
        bool found = std::find_if(ops.begin(), ops.end(),
                                  [](const tensorflow::OpDef& op_def) {
                                    return op_def.name() == "TestCApi";
                                  }) != ops.end();
        EXPECT_TRUE(found);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top