Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 105 for clonePod (0.23 sec)

  1. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

      // equivalent in the cloned range.
      const auto source_to_target = [&](int i) {
        return i + (remat.insert - remat.begin);
      };
    
      // Helper struct: bundles first and last use of a tensor within
      // a contiguous range of operations.
      struct TensorUse {
        int first_use;
        int last_use;
      };
    
      // For all tensors in the operation range to be cloned, store their first and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/duplicate_shape_determining_constants.mlir

      %1 = "tf.AddV2"(%cst, %cst) {device = ""} : (tensor<i32>, tensor<i32>) -> tensor<i32>
    
      return %0 : tensor<?x2x1xi32>
    }
    // Check that the constant is cloned with same value.
    // CHECK-DAG: %[[CST_0:.*]] = "tf.Const"()
    // CHECK-SAME: value = dense<2> : tensor<i32>
    // CHECK-DAG: %[[CST_1:.*]] = "tf.Const"()
    // CHECK-SAME: value = dense<2> : tensor<i32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 07:44:46 UTC 2022
    - 11K bytes
    - Viewed (0)
  3. pilot/pkg/networking/util/util_test.go

    func TestCloneClusterLoadAssignment(t *testing.T) {
    	cloned := CloneClusterLoadAssignment(testCla)
    	cloned2 := CloneClusterLoadAssignment(testCla)
    	if !cmp.Equal(testCla, cloned, protocmp.Transform()) {
    		t.Fatalf("expected %v to be the same as %v", testCla, cloned)
    	}
    	cloned.ClusterName = "foo"
    	cloned.Endpoints[0].LbEndpoints[0].LoadBalancingWeight.Value = 5
    	if cmp.Equal(testCla, cloned, protocmp.Transform()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

        server.enqueue(MockResponse(body = "def"))
    
        val request = Request(server.url("/"))
    
        val call = client.newCall(request)
        val response1 = call.execute()
    
        val cloned = call.clone()
        val response2 = cloned.execute()
    
        assertThat("abc").isEqualTo(response1.body.string())
        assertThat("def").isEqualTo(response2.body.string())
      }
    
      @Test
      @Flaky
      fun testMockWebserverRequest() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java

        /**
         * Gets the super POM for the specified model version. The returned model is supposed to be read-only, i.e. if the
         * caller intends to make updates to the model the return value must be cloned before updating to ensure the
         * modifications don't affect future retrievals of the super POM.
         *
         * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                }
            });
            final FessXpathTransformer transformer = new FessXpathTransformer();
            transformer.init();
    
            final Node pruneNode = transformer.pruneNode(document.cloneNode(true), null);
            assertEquals(getXmlString(document), getXmlString(pruneNode));
            ComponentUtil.setFessConfig(null);
        }
    
        public void test_pruneNode_removeNoScript() throws Exception {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_save_function_ops_to_main.mlir

    // RUN:     -allow-unregistered-dialect -mlir-disable-threading \
    // RUN:     -split-input-file -verify-diagnostics | FileCheck %s
    
    // Test that the @tf_quant_save's ops are cloned to @main.
    
    module attributes {tf_saved_model.semantics} {
      func.func private @tf_quant__save(%arg: tensor<!tf_type.string>) -> () {
        tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_Op* cloned = CloneOp(original_var_op);
    
      EXPECT_EQ("/job:localhost/replica:0/task:0/device:CPU:0",
                std::string(TFE_OpGetDevice(cloned, status)));
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      EXPECT_EQ("VarHandleOp", std::string(TFE_OpGetName(cloned, status)));
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

        }
    
        func_op->setAttr(kHostAttr, StringAttr::get(context, host));
        func_op.setPublic();
        Block *block = func_op.addEntryBlock();
    
        // Clones and moves the operations into the function's body. And the cloned
        // operation should use the arguments of the newly created func_op as
        // appropriate.
        OpBuilder builder(block, block->end());
        IRMapping mapping;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

      const auto loc = NameLoc::get(builder.getStringAttr("shape_and_slices"));
      return Create1DStringConst(shape_and_slices_values, loc, builder);
    }
    
    // Returns cloned `VarHandleOp`s. Assumes `save_func`'s body is empty.
    SmallVector<TF::VarHandleOp> CloneVarHandleOpsIntoSaveFunc(
        func::FuncOp save_func, const ArrayRef<TF::VarHandleOp> var_handle_ops) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top