- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for x_data (0.2 sec)
-
tensorflow/cc/gradients/image_grad_test.cc
TensorShape x_shape({1, 4, 6, 1}); Tensor x_data = MakeData<X_T>(x_shape); Output x, y; MakeOp<X_T>(op_type, x_data, {2, 3}, align_corners, half_pixel_centers, &x, &y); JAC_T max_error; TF_ASSERT_OK((ComputeGradientError<X_T, Y_T, JAC_T>( scope_, x, x_data, y, {1, 2, 3, 1}, &max_error))); EXPECT_LT(max_error, 1.5e-3); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 15 04:08:05 UTC 2019 - 12.1K bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker.cc
Tensor y_data = (*y_datas)[y_idx]; if (y_data.SharesBufferWith((*x_datas)[x_idx])) { // Create copies of outputs that share a buffer with any inputs since // the underlying buffer of the input Tensors are not copied for some // operations (i.e. Identity), which can lead to incorrect results for // the centered difference calculation. (*y_datas)[y_idx] = tensor::DeepCopy(y_data); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 18.2K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
TF_ASSERT_OK(scope_.status()); DataType x_type = DataTypeToEnum<X_T>::v(); TensorShape shape({2, 3, 2}); auto x = Placeholder(scope_, x_type, Placeholder::Shape(shape)); Tensor x_data(x_type, shape); auto x_data_flat = x_data.flat<X_T>(); for (int i = 0; i < x_data_flat.size(); ++i) { x_data_flat(i) = x_fn(i); } Output y; switch (op_type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
src/debug/macho/file_test.go
{"__eh_frame", "__TEXT", 0x100000fb8, 0x48, 0xfb8, 0x3, 0x0, 0x0, 0x6000000b}, {"__data", "__DATA", 0x100001000, 0x1c, 0x1000, 0x3, 0x0, 0x0, 0x0}, {"__dyld", "__DATA", 0x100001020, 0x38, 0x1020, 0x3, 0x0, 0x0, 0x0}, {"__la_symbol_ptr", "__DATA", 0x100001058, 0x10, 0x1058, 0x2, 0x0, 0x0, 0x7}, }, nil, }, { "testdata/gcc-amd64-darwin-exec-debug.base64",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 12.4K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
return sa } func makeSecret(name, caData, token string) *v1.Secret { out := &v1.Secret{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: testNamespace, Annotations: map[string]string{v1.ServiceAccountNameKey: testServiceAccountName}, }, Data: map[string][]byte{}, Type: v1.SecretTypeServiceAccountToken, } if len(caData) > 0 { out.Data[v1.ServiceAccountRootCAKey] = []byte(caData) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 20.6K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader_test.go
if ldr.SymType(mi) != tp.expKind { t.Errorf("testing Loader.%s: expected kind %s got %s", tp.which, tp.expKind, ldr.SymType(mi)) } if !bytes.Equal(ldr.Data(mi), tp.expData) { t.Errorf("testing Loader.%s: expected data %v got %v", tp.which, tp.expData, ldr.Data(mi)) } relocs := ldr.Relocs(mi) if !sameRelocSlice(&relocs, tp.expRel) { t.Fatalf("testing Loader.%s: got relocslice %+v wanted %+v",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen.cc
set_static_data_result_index_table(data, ResultIndexToBufferIndex()); set_static_data_num_results(data, kNumResults); set_static_data_arg_index_table(data, ArgIndexToBufferIndex()); set_static_data_num_args(data, kNumArgs); set_static_data_num_variables(data, kNumVariables); set_static_data_result_index(data, kResultIndex); set_static_data_arg_shape_infos(data, ArgShapeInfos());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
multicluster.MultiClusterSecretLabel: "true", }, }, Data: map[string][]byte{ key: data.Bytes(), }, } return out, nil } func createBaseKubeconfig(caData []byte, clusterName, server string) *api.Config { return &api.Config{ Clusters: map[string]*api.Cluster{ clusterName: { CertificateAuthorityData: caData, Server: server, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 01:43:17 UTC 2023 - 24K bytes - Viewed (0) -
src/cmd/link/internal/loadpe/ldpe.go
} state.sectdata[sect] = data bld.SetData(data) } bld.SetSize(int64(sect.Size)) state.sectsyms[sect] = s if sect.Name == ".rsrc" || strings.HasPrefix(sect.Name, ".rsrc$") { ls.Resources = append(ls.Resources, s) } else if bld.Type() == sym.SSEHSECT { if sect.Name == ".pdata" { ls.PData = s } else if sect.Name == ".xdata" { ls.XData = s } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 20:26:46 UTC 2023 - 26.5K bytes - Viewed (0) -
src/internal/trace/generation.go
} if g.freq != 0 { return fmt.Errorf("found multiple frequency events") } g.freq = freq case b.exp != event.NoExperiment: if g.expData == nil { g.expData = make(map[event.Experiment]*ExperimentalData) } if err := addExperimentalData(g.expData, b); err != nil { return err } default: g.batches[b.m] = append(g.batches[b.m], b) } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 22:14:45 UTC 2024 - 12.1K bytes - Viewed (0)