- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for TestMul (0.17 sec)
-
test/fixedbugs/issue66066.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 677 bytes - Viewed (0) -
test/strength.go
} fmt.Printf("}\n") return fmt.Sprintf("%s(%d)", n, fact) } func main() { fmt.Printf("package main\n") fmt.Printf("import \"fmt\"\n") fmt.Printf("var failed = false\n") f1 := testMul(17, 32) f2 := testMul(131, 64) fmt.Printf("func main() {\n") fmt.Println(f1) fmt.Println(f2) fmt.Printf("if failed {\n panic(\"multiplication failed\")\n}\n") fmt.Printf("}\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 08 17:28:20 UTC 2019 - 1K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker_test.cc
ASSERT_NO_FATAL_FAILURE(CompareNumericalAndManualGradients( MatMulModel, ctx_.get(), {A.get(), B.get()}, 0, expected_dA, 4, UseFunction())); } TEST_P(GradientCheckerTest, TestMul) { AbstractTensorHandlePtr x; { AbstractTensorHandle* x_raw = nullptr; Status s = TestScalarTensorHandle<float, TF_FLOAT>(ctx_.get(), 2.0f, &x_raw);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 10:03:59 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir
%0 = "tfl.sub"(%arg0, %arg1) {fused_activation_function = "NONE"} : (tensor<10x10x10xf32>, tensor<10xf32>) -> tensor<10x10x10xf32> func.return %0 : tensor<10x10x10xf32> } func.func @testMul(%arg0: tensor<10x10x10xf32>, %arg1: tensor<10x10x10xf32>) -> tensor<10x10x10xf32> { // CHECK: _arithmetic_count = 1000 : i64
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:58:17 UTC 2022 - 7.7K bytes - Viewed (0) -
pkg/routes/openidmetadata.go
func fromStandard(h http.HandlerFunc) restful.RouteFunction { return func(req *restful.Request, resp *restful.Response) { h(resp, req.Request) } } func (s *OpenIDMetadataServer) serveConfiguration(w http.ResponseWriter, req *http.Request) { w.Header().Set(restful.HEADER_ContentType, restful.MIME_JSON) w.Header().Set(headerCacheControl, cacheControl)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 09 18:11:41 UTC 2022 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/routes/version.go
versionWS := new(restful.WebService) versionWS.Path("/version") versionWS.Doc("git code version from which this is built") versionWS.Route( versionWS.GET("/").To(v.handleVersion). Doc("get the code version"). Operation("getCodeVersion"). Produces(restful.MIME_JSON). Consumes(restful.MIME_JSON). Writes(version.Info{})) c.Add(versionWS) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 09 18:11:41 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/routes/logs.go
"os" "path" "github.com/emicklei/go-restful/v3" ) // Logs adds handlers for the /logs path serving log files from /var/log. type Logs struct{} // Install func registers the logs handler. func (l Logs) Install(c *restful.Container) { // use restful: ws.Route(ws.GET("/logs/{logpath:*}").To(fileHandler)) // See github.com/emicklei/go-restful/blob/master/examples/static/restful-serve-static.go ws := new(restful.WebService)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 21 16:25:48 UTC 2022 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/routes/openapi.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package routes import ( restful "github.com/emicklei/go-restful/v3" "k8s.io/klog/v2" "k8s.io/apiserver/pkg/server/mux" builder2 "k8s.io/kube-openapi/pkg/builder" "k8s.io/kube-openapi/pkg/builder3" "k8s.io/kube-openapi/pkg/common"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 16 19:05:13 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/warning/warning.go
limitations under the License. */ package warning import ( restful "github.com/emicklei/go-restful/v3" "k8s.io/apiserver/pkg/warning" ) // AddWarningsHandler returns a handler that adds the provided warnings to all requests, // then delegates to the provided handler. func AddWarningsHandler(handler restful.RouteFunction, warnings []string) restful.RouteFunction { if len(warnings) == 0 { return handler }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 09 18:11:41 UTC 2022 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/legacy.go
serializer: serializer, } } // AddApiWebService adds a service to return the supported api versions at the legacy /api. func (s *legacyRootAPIHandler) WebService() *restful.WebService { mediaTypes, _ := negotiation.MediaTypesForSerializer(s.serializer) ws := new(restful.WebService) ws.Path(s.apiPrefix) ws.Doc("get available API versions") ws.Route(ws.GET("/").To(s.restfulHandle). Doc("get available API versions").
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 22:44:49 UTC 2022 - 2.7K bytes - Viewed (0)