Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,222 for dakota (0.1 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TF_Tensor* t = TFE_TensorHandleResolve(h, status.get());
      ASSERT_EQ(16, TF_TensorByteSize(t));
      float data[4] = {0};
      memcpy(&data[0], TF_TensorData(t), TF_TensorByteSize(t));
      EXPECT_EQ(1.0, data[0]);
      EXPECT_EQ(2.0, data[1]);
      EXPECT_EQ(3.0, data[2]);
      EXPECT_EQ(4.0, data[3]);
      TF_DeleteTensor(t);
      TFE_DeleteTensorHandle(h);
      TFE_DeleteContext(ctx);
    }
    
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py

                        "type": "value_error.missing",
                    },
                ]
            }
        )
    
    
    def test_post_form_no_file(client: TestClient):
        response = client.post("/files/", data={"token": "foo"})
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. docs_src/openapi_webhooks/tutorial001.py

        start_date: datetime
    
    
    @app.webhooks.post("new-subscription")
    def new_subscription(body: Subscription):
        """
        When a new user subscribes to your service we'll send you a POST request with this
        data to the URL that you register for the event `new-subscription` in the dashboard.
        """
    
    
    @app.get("/users/")
    def read_users():
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Oct 20 09:00:44 UTC 2023
    - 550 bytes
    - Viewed (0)
  4. cmd/metacache-bucket.go

    		bucket:     bucket,
    		caches:     make(map[string]metacache, 10),
    		cachesRoot: make(map[string][]string, 10),
    	}
    }
    
    func (b *bucketMetacache) debugf(format string, data ...interface{}) {
    	if serverDebugLog {
    		console.Debugf(format+"\n", data...)
    	}
    }
    
    // findCache will attempt to find a matching cache for the provided options.
    // If a cache with the same ID exists already it will be returned.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

                entry.select("ul li")
                    .map { it.text() }
    
            )
        }
    
    
    internal
    data class ReportMessage(
        val message: String,
        val details: List<String>
    )
    
    
    internal
    data class RichReport(
        val errors: List<ReportMessage>,
        val warnings: List<ReportMessage>,
        val information: List<ReportMessage>,
    Registered: Wed Oct 30 11:36:09 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. fastapi/encoders.py

                return encoder(obj)
    
        try:
            data = dict(obj)
        except Exception as e:
            errors: List[Exception] = []
            errors.append(e)
            try:
                data = vars(obj)
            except Exception as e:
                errors.append(e)
                raise ValueError(errors) from e
        return jsonable_encoder(
            data,
            include=include,
            exclude=exclude,
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. docs/en/docs/newsletter.md

    # FastAPI and friends newsletter
    
    <iframe data-w-type="embedded" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://xr4n4.mjt.lu/wgt/xr4n4/hj5/form?c=40a44fa4" width="100%" style="height: 800px;"></iframe>
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 326 bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/hash/maphash/54670.md

    New function [Comparable] returns the hash of comparable value v.
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Oct 02 15:54:11 UTC 2024
    - 134 bytes
    - Viewed (0)
  9. cmd/tier-handlers.go

    	if objAPI == nil {
    		return
    	}
    
    	tiers := globalTierConfigMgr.ListTiers()
    	data, err := json.Marshal(tiers)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	w.Header().Set(tierCfgRefreshAtHdr, globalTierConfigMgr.refreshedAt().String())
    	writeSuccessResponseJSON(w, data)
    }
    
    func (api adminAPIHandlers) EditTierHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/encoding/62384.md

    introduced to append the textual or binary representation of an object
    to a byte slice. These interfaces provide the same functionality as
    [TextMarshaler] and [BinaryMarshaler], but instead of allocating a new slice
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Jul 30 14:22:50 UTC 2024
    - 346 bytes
    - Viewed (0)
Back to top