- Sort Score
- Result 10 results
- Languages All
Results 91 - 96 of 96 for makeBody (0.16 sec)
-
pkg/controller/nodelifecycle/node_lifecycle_controller_test.go
v1.ResourceName(v1.ResourceCPU): resource.MustParse("10"), v1.ResourceName(v1.ResourceMemory): resource.MustParse("10G"), }, }, } } return nodes } makePods := func() []v1.Pod { pods := make([]v1.Pod, numNodes*podsPerNode) for i := 0; i < numNodes*podsPerNode; i++ { pods[i] = *testutil.NewPod(fmt.Sprintf("pod%d", i), fmt.Sprintf("node%d", i%numNodes)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 03:26:45 UTC 2024 - 119K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
auto ctrl_op = op_builder.create<mlir::TFL::ControlNodeOp>( op_loc, cloned_op->getResultTypes(), mlir::TFL::ControlType::get(op->getContext()), control_tokens); ctrl_op.getBody().takeBody(region); // Store the control_token output for use by downstream nodes. maybe_control_node->second.outgoing = ctrl_op.getControl(); // Remove the original op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
// Move regions to the new op. for (auto it : llvm::zip(op_->getRegions(), new_op->getRegions())) { Region& old_region = std::get<0>(it); Region& new_region = std::get<1>(it); new_region.takeBody(old_region); } // Insert stores to all written resources. for (Value resource : written_resources_) { ResourceInfo& info = resources_[resource];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage_test.go
} return p } func TestServiceRegistryResourceLocation(t *testing.T) { pods := []api.Pod{ makePod("unnamed", "1.2.3.4", "1.2.3.5"), makePod("named", "1.2.3.6", "1.2.3.7"), makePod("no-endpoints", "9.9.9.9"), // to prove this does not get chosen } endpoints := []*api.Endpoints{ epstest.MakeEndpoints("unnamed",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 440.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
op->getLoc(), op->getName(), types, new_operands, op->getAttrs(), op->getPropertiesStorage(), {}, /*numRegions=*/2)); for (int i = 0; i < 2; ++i) new_op->getRegion(i).takeBody(op->getRegion(i)); int new_index = 0; for (int op_index = 0, e = op->getNumResults(); op_index < e; ++op_index) { if (removed_operand[op_index]) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)