Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for toWrap (0.21 sec)

  1. pkg/controller/volume/persistentvolume/framework_test.go

    		return toWrap(ctrl, reactor, test)
    	}
    }
    
    // wrapTestWithReclaimCalls returns a testCall that:
    //   - configures controller with recycler or deleter which will return provided
    //     errors when a volume is deleted or recycled
    //   - calls given testCall
    func wrapTestWithReclaimCalls(operation operationType, expectedOperationCalls []error, toWrap testCall) testCall {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

        auto ret0 = ops::_Retval(s.WithOpName("ret0"), arg1, 0);
        auto ret1 = ops::_Retval(s.WithOpName("ret1"), arg0, 1);
        std::unique_ptr<Graph> g(new Graph(OpRegistry::Global()));
        TF_CHECK_OK(s.ToGraph(g.get()));
        FunctionDef *xla_fdef = fdl.add_function();
        TF_CHECK_OK(GraphToFunctionDef(*g, "f1", xla_fdef));
      }
      {
        // Function for While's "body".
        // "arg0" (T=DT_RESOURCE), "arg1" (T=DT_BOOL)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. samples/bookinfo/src/productpage/templates/productpage.html

                        <td class="whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900">{{ details.publisher }}</td>
                        <td class="whitespace-nowrap px-2 py-2 text-sm text-gray-900">{{ details.pages }}</td>
                        <td class="whitespace-nowrap px-2 py-2 text-sm text-gray-500">{{ details.type }}</td>
                        <td class="whitespace-nowrap px-2 py-2 text-sm text-gray-500">{{ details.language }}</td>
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

              .Attr("Tout", {DT_RESOURCE})
              .Attr("f", f_name_attr)
              .Finalize(root.graph(), &call));
      call->AddAttr(std::string(kMustCompileAttr), true);
    
      TF_ASSERT_OK(root.ToGraph(&graph));
    
      // Required for passing the PS server parameter check.
      for (Node* node : graph.nodes()) {
        node->set_assigned_device_name("/job:ps/replica:0/task:0/device:GPU:0");
      }
    
      EXPECT_TRUE(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      auto ret0 = ops::_Retval(s.WithOpName("ret0"), add, 0);
      auto ret1 = ops::_Retval(s.WithOpName("ret1"), arg1, 1);
      std::unique_ptr<Graph> g(new Graph(OpRegistry::Global()));
      TF_CHECK_OK(s.ToGraph(g.get()));
      auto node_name_image = g->BuildNodeNameIndex();
      Node *add_node = node_name_image["add"];
      EXPECT_NE(add_node, nullptr);
      add_node->AddAttr(kXlaConnectedToXlaComputationAttrName, "cluster");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/shape_inference_test.cc

      auto f = ops::Neg(root.WithOpName("F"), e);
      auto g = ops::AddN(root.WithOpName("G"), std::initializer_list<Output>{e, f});
    
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      TF_CHECK_OK(root.ToGraph(graph.get()));
    
      GraphShapeInfo shape_info;
      TF_ASSERT_OK(InferShapes(graph.get(), /*arg_shapes=*/{},
                               /*fnlib_def=*/nullptr, &shape_info));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/partially_decluster_pass_test.cc

      auto graph = std::make_unique<Graph>(OpRegistry::Global());
      TF_ASSERT_OK(s.ToGraph(graph.get()));
    
      // This is needed to register the XLA_GPU device.
      std::vector<std::unique_ptr<Device>> devices;
      TF_ASSERT_OK(DeviceFactory::AddDevices(
          SessionOptions(), "/job:localhost/replica:0/task:0", &devices));
    
      // Scope::ToGraph loses the assigned device name since it goes through
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 23K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      auto consumer2 = ops::Identity(scope.WithOpName("consumer2"), out2);
      auto consumer3 = ops::Identity(scope.WithOpName("consumer3"), out3);
    
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      TF_CHECK_OK(scope.ToGraph(graph.get()));
      return graph;
    }
    
    // Makes an encapsulate body graph for use in tests.
    static std::unique_ptr<Graph> MakeBodyGraph() {
      Scope scope = Scope::NewRootScope().ExitOnError();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  9. operator/pkg/compare/compare.go

    	if err != nil {
    		return "", err
    	}
    	bo, err := object.ParseK8sObjectsFromYAMLManifest(b)
    	if err != nil {
    		return "", err
    	}
    
    	aom, bom := ao.ToMap(), bo.ToMap()
    	return manifestDiff(aom, bom, nil, verbose)
    }
    
    // ManifestDiffWithSelect checks the manifest differences with selected and ignored resources.
    // The selected filter will apply before the ignored filter.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

            to: List<Pair<File, HashCode>>
        ): InvalidationReason? = to.toMap().let { toMap ->
            checkFingerprintGiven(
                mock {
                    on { allInitScripts } doReturn toMap.keys.toList()
                    on { hashCodeAndTypeOf(any()) }.then { invocation ->
                        toMap[invocation.getArgument(0)] to FileType.RegularFile
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top