- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 47 for AssertJ (0.21 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
for (auto& use : control_token.getUses()) { auto owner = use.getOwner(); // Control tokens can only be consumed by other ControlNodeOps, assert(llvm::isa<mlir::TFL::ControlNodeOp>(owner)); assert(control_nodes_at.find(owner) != control_nodes_at.end()); // Control edge in terms of offsets. control_edges.emplace_back(control_nodes_at[outer_op],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go
Claim: "groups", Prefix: pointer.String(""), }, }, }, Client: &http.Client{Transport: errTransport("some unexpected oidc error")}, // return an error that we can assert against now: func() time.Time { return now }, }, signingKey: loadRSAPrivKey(t, "testdata/rsa_1.pem", jose.RS256), pubKeys: []*jose.JSONWebKey{ loadRSAKey(t, "testdata/rsa_1.pem", jose.RS256),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 97.7K bytes - Viewed (0) -
src/reflect/all_test.go
v1 := ValueOf(&inter) v2 := v1.Elem().Field(0) assert(t, v2.Type().String(), "interface {}") i2 := v2.Interface() v3 := ValueOf(i2) assert(t, v3.Type().String(), "float64") } func TestInterfaceValue(t *testing.T) { var inter struct { E any } inter.E = 123.456 v1 := ValueOf(&inter) v2 := v1.Elem().Field(0) assert(t, v2.Type().String(), "interface {}") v3 := v2.Elem()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
limitations under the License. */ package cel import ( "bytes" "context" "flag" "fmt" "math" "strings" "sync" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "k8s.io/klog/v2" "k8s.io/kube-openapi/pkg/validation/strfmt" "k8s.io/utils/ptr" apiextensionsinternal "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
go.sum
github.com/alecholmes/xfccparser v0.3.0 h1:SI/zhgFw+CsoHnR2VXcbVg/9gij6T/ENT+1yqBOeLNA= github.com/alecholmes/xfccparser v0.3.0/go.mod h1:J9fzzUOtjw74IwNdGVbjnOVj1UDlwGQj1zZzgQRlRDY= github.com/alecthomas/assert/v2 v2.3.0 h1:mAsH2wmvjsuvyBvAmCtm7zFsBlb8mIHx5ySLVdDZXL0= github.com/alecthomas/assert/v2 v2.3.0/go.mod h1:pXcQ2Asjp247dahGEmsZ6ru0UVwnkhktn7S0bBDLxvQ= github.com/alecthomas/participle/v2 v2.1.0 h1:z7dElHRrOEEq45F2TG5cbQihMtNTv8vwldytDj7Wrz4=
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 15:32:28 UTC 2024 - 101.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
%0 = "tf.LessEqual"(%arg0, %arg1) : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi1> "tf.Assert"(%0, %arg1) {summarize = 3} : (tensor<1xi1>, tensor<1xi32>) -> () func.return %0 : tensor<1xi1> // CHECK-LABEL: assert_remove // CHECK: tfl.less_equal // CHECK-NOT: Assert // CHECK: return } func.func @reciprocal_f32(%arg0: tensor<8xf32>) -> tensor<8xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
fastapi/applications.py
""" ), ] = "3.1.0" self.openapi_schema: Optional[Dict[str, Any]] = None if self.openapi_url: assert self.title, "A title must be provided for OpenAPI, e.g.: 'My API'" assert self.version, "A version must be provided for OpenAPI, e.g.: '2.1.0'" # TODO: remove when discarding the openapi_prefix parameter if openapi_prefix:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 00:48:03 UTC 2024 - 172.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
if (node.type_string() == "InfeedDequeueTuple") return type_from_array_attr("shapes", "dtypes"); if (node.type_string() == "InfeedDequeue") { assert(idx == 0); const auto& output_shape = node.attrs().Find("shape")->shape(); const auto& element_type = node.attrs().Find("dtype")->type(); return ConvertToMlirTensorType(output_shape, element_type, &builder);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
auto elements = mlir::dyn_cast<DenseElementsAttr>(a); auto shape = elements.getType().getShape(); if (!shape.empty()) { // Checks that elements are essentially 1d. assert(elements.getNumElements() == shape.back()); } std::vector<int64_t> shape_data = {1, 1, 1, 1}; const int vector_length = elements.getNumElements(); if (is_depthwise) shape_data[3] = vector_length; else
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
// Adding the gradients to the graph can alter the prefix to prevent // name collisions only if this prefix has not been provided explicitly // by the user. If it was provided, assert that it remained intact. if (prefix != nullptr && !absl::StartsWith(n->name(), prefix_cmp)) { status->status = tensorflow::errors::Internal(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0)