- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for setMap (0.46 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
attr->contains("DstT") && attr->at("SrcT").type() == attr->at("DstT").type() && attr->contains("Truncate") && !attr->at("Truncate").b()) { node_def->set_op("Identity"); attr->insert({{"T", attr->at("SrcT")}}); attr->erase("SrcT"); attr->erase("DstT"); attr->erase("Truncate"); } } } // namespace Status GetAttrValuesFromOperation(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 11.1K bytes - Viewed (0) -
src/reflect/all_test.go
shouldPanic("SetCap", func() { vs.SetCap(10) }) shouldPanic("SetLen", func() { vs.SetLen(-1) }) shouldPanic("SetCap", func() { vs.SetCap(-1) }) shouldPanic("SetCap", func() { vs.SetCap(6) }) // smaller than len vs.SetLen(5) if len(xs) != 5 || cap(xs) != 8 { t.Errorf("after SetLen(5), len, cap = %d, %d, want 5, 8", len(xs), cap(xs)) } vs.SetCap(6) if len(xs) != 5 || cap(xs) != 6 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.cc
TensorShapeProto shape_proto; context->ShapeHandleToProto(handle, &shape_proto); if (!shape_proto.unknown_rank()) { NodeDef const_def; const_def.set_op("Const"); Node* var_node; TF_RETURN_IF_ERROR(n->input_node(0, &var_node)); const_def.set_name( graph->NewName(absl::StrCat("var_shape_", var_node->name())));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
if (!name.empty()) node_def->set_name(std::string(ParseTensorName(name.str()).node())); else node_def->set_name( std::string(op_to_name_.GetUniqueName(func.getName().str()))); node_def->set_op(FunctionLibraryDefinition::kArgOp); mlir::TensorType arg_type = mlir::cast<mlir::TensorType>(arg.getType()); if (auto resource_type = mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
if (!name.empty()) node_def->set_name(std::string(ParseTensorName(name.str()).node())); else node_def->set_name( std::string(op_to_name_.GetUniqueName(func.getName().str()))); node_def->set_op(FunctionLibraryDefinition::kArgOp); mlir::TensorType arg_type = mlir::cast<mlir::TensorType>(arg.getType()); if (auto resource_type = mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
build/common.sh
# This is the image used in a multi-stage build to apply capabilities to Docker-wrapped binaries. readonly KUBE_BUILD_SETCAP_IMAGE="${KUBE_BUILD_SETCAP_IMAGE:-$KUBE_BASE_IMAGE_REGISTRY/setcap:$__default_setcap_version}" # Get the set of master binaries that run in Docker (on Linux) # Entry format is "<binary-name>,<base-image>". # Binaries are placed in /usr/local/bin inside the image.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 26.5K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux.go
func (s *ProxyServer) setupConntrack(ctx context.Context) error { ct := &realConntracker{} max, err := getConntrackMax(ctx, s.Config.Conntrack) if err != nil { return err } if max > 0 { err := ct.SetMax(ctx, max) if err != nil { if err != errReadOnlySysFS { return err } // errReadOnlySysFS is caused by a known docker issue (https://github.com/docker/docker/issues/24000),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 18.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
TF_ASSIGN_OR_RETURN(auto tf_name, GetTensorFlowOpName(inst->getName().getStringRef())); op_name.append(tf_name); } node_def->set_name(name.str()); node_def->set_op(std::string(op_name.str())); // Update NodeDef constructed out of an MLIR Case/If/While op to map it to // either TensorFlow StatelessX or X op depending on the additional attribute.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
const int num_inputs = input_shapes->num_items; NodeDef node_def; tensorflow::ImmediateExecutionOperation* op = tensorflow::unwrap(tfe_op); node_def.set_name(op->Name()); node_def.set_op(op->Name()); for (int i = 0; i < num_inputs; ++i) { node_def.add_input("dummy_input"); } OperationFromInterface(op)->Attrs().FillAttrValueMap(node_def.mutable_attr());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 29.4K bytes - Viewed (0)