Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for proto$1 (0.15 sec)

  1. tensorflow/c/eager/gradients.cc

        }
        if (num_dims_i < 0) {
          proto[i].set_unknown_rank(true);
        } else {
          const int64_t* dims_i = dims[i];
          auto proto_i = &proto[i];
          for (int d = 0; d < num_dims_i; ++d) {
            proto_i->add_dim()->set_size(dims_i[d]);
          }
        }
      }
      forward_op_->attrs.Set(
          attr_name, gtl::ArraySlice<TensorShapeProto>(proto.get(), num_values));
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // `proto` must point to an array of `proto_len` bytes representing a
    // binary-serialized TensorShapeProto.
    TF_CAPI_EXPORT extern void TF_SetAttrTensorShapeProto(
        TF_OperationDescription* desc, const char* attr_name, const void* proto,
        size_t proto_len, TF_Status* status);
    // `protos` and `proto_lens` must point to arrays of length `num_shapes`.
    // `protos[i]` must point to an array of `proto_lens[i]` bytes
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

    void TF_SetAttrValueProto(TF_OperationDescription* desc, const char* attr_name,
                              const void* proto, size_t proto_len,
                              TF_Status* status) {
      tensorflow::AttrValue attr_value;
      if (!attr_value.ParseFromArray(proto, proto_len)) {
        status->status = InvalidArgument("Unparseable AttrValue proto");
        return;
      }
    
      if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) {
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

                                 const void* proto, size_t proto_len,
                                 TF_Status* status) {
      tensorflow::AttrValue attr_value;
      if (!attr_value.ParseFromArray(proto, proto_len)) {
        status->status =
            tensorflow::errors::InvalidArgument("Unparseable AttrValue proto");
        return;
      }
      if (op == nullptr) {
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  5. tensorflow/build_cleaner_spec.textproto

    # proto-file: devtools/build_cleaner/proto/actions.proto
    # proto-message: ActionSpecs
    
    # Python rules should not have more than one source file.
    action_spec {
      action: CHECK_FILE_COUNT
      file_count_params {
        rule_selector {
          rule_kind_regex: "^.*py(type)?(_strict)?_(binary|library|test).*$"
          generator_function_regex: "^(?!boq_header)$"
        }
        max_source_count: 1
      }
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Nov 29 18:16:42 UTC 2023
    - 387 bytes
    - Viewed (0)
  6. internal/handlers/proxy.go

    		scheme = strings.ToLower(proto)
    	} else if proto = r.Header.Get(xForwardedScheme); proto != "" {
    		scheme = strings.ToLower(proto)
    	} else if proto := r.Header.Get(forwarded); proto != "" {
    		// match should contain at least two elements if the protocol was
    		// specified in the Forwarded header. The first element will always be
    		// the 'for=', which we ignore, subsequently we proceed to look for
    		// 'proto=' which should precede right after `for=` if not
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. cmd/generic-handlers_test.go

    	u, err := url.Parse("http://localhost:9000/minio/lock")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	r := &http.Request{
    		Proto:  "HTTP/1.0",
    		Method: http.MethodPost,
    		URL:    u,
    	}
    	if !guessIsRPCReq(r) {
    		t.Fatal("Test shouldn't fail for a possible net/rpc request.")
    	}
    	r = &http.Request{
    		Proto:  "HTTP/1.1",
    		Method: http.MethodGet,
    		URL:    u,
    	}
    	if !guessIsRPCReq(r) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/moment-with-locales.min.js.map

    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 224.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.h

                                                          size_t proto_len,
                                                          TF_Status* status);
    
    // This API is for experimental usage and may be subject to change.
    TF_CAPI_EXPORT extern void TFE_ContextUpdateServerDefWithTimeout(
        TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len,
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  10. internal/handlers/proxy_test.go

    		{xForwardedScheme, "HTTP", "http"},
    		{forwarded, `For="[2001:db8:cafe::17]:4711`, ""},                    // No proto
    		{forwarded, `for=192.0.2.43, for=198.51.100.17;proto=https`, ""},    // Multiple params, will be empty.
    		{forwarded, `for=172.32.10.15; proto=https;by=127.0.0.1;`, "https"}, // Space before proto
    		{forwarded, `for=192.0.2.60;proto=http;by=203.0.113.43`, "http"},    // Multiple params
    	}
    	for _, v := range headers {
    		req := &http.Request{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top