Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 169 for assertGet (0.2 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

            expected->subgraph_metadata()->GetAs<SubgraphMetadata>(i);
        if (expected_subgraph_metadata->op_metadata() == nullptr &&
            result_subgraph_metadata->op_metadata() == nullptr) {
          return;
        }
        ASSERT_EQ(expected_subgraph_metadata->op_metadata()->size(),
                  result_subgraph_metadata->op_metadata()->size());
        for (int j = 0; j < expected_subgraph_metadata->op_metadata()->size();
             ++j) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. tensorflow/c/ops.h

    TF_CAPI_EXPORT extern int TF_ShapeInferenceContextRankKnown(
        TF_ShapeInferenceContext* ctx, TF_ShapeHandle* handle);
    
    // If <handle> has rank <rank>, or its rank is unknown, return OK and return the
    // shape with asserted rank in <*result>. Otherwise an error is placed into
    // `status`.
    TF_CAPI_EXPORT extern void TF_ShapeInferenceContextWithRank(
        TF_ShapeInferenceContext* ctx, TF_ShapeHandle* handle, int64_t rank,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  3. src/net/fd_fake.go

    	// so we cannot get access to the underlying IP address used by connections.
    	//
    	// However, listeners created by FileListener are of type *TCPListener,
    	// which can be asserted by a Go program. The (*TCPListener).Addr method
    	// documents that the returned value will be of type *TCPAddr, we satisfy
    	// the documented behavior by creating addresses of the expected type here.
    	switch net {
    	case "tcp":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api_predicates.go

    // license that can be found in the LICENSE file.
    
    // This file implements exported type predicates.
    
    package types2
    
    // AssertableTo reports whether a value of type V can be asserted to have type T.
    //
    // The behavior of AssertableTo is unspecified in three cases:
    //   - if T is Typ[Invalid]
    //   - if V is a generalized interface; i.e., an interface that may only be used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/go/types/api_predicates.go

    // license that can be found in the LICENSE file.
    
    // This file implements exported type predicates.
    
    package types
    
    // AssertableTo reports whether a value of type V can be asserted to have type T.
    //
    // The behavior of AssertableTo is unspecified in three cases:
    //   - if T is Typ[Invalid]
    //   - if V is a generalized interface; i.e., an interface that may only be used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. tensorflow/cc/ops/while_loop_test.cc

        for (int i = 0; i < inputs_.size(); ++i) {
          feeds.emplace(inputs_[i], input_values[i]);
        }
    
        std::vector<Tensor> out_tensors;
        TF_ASSERT_OK(session.Run(feeds, outputs_, &out_tensors));
        ASSERT_EQ(out_tensors.size(), outputs_.size());
    
        DCHECK_EQ(expected_output_values.size(), out_tensors.size());
        for (int i = 0; i < out_tensors.size(); ++i) {
          test::ExpectTensorEqual<T>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 22:30:58 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/DependencyLockingGraphVisitor.java

        /**
         * This will transform any lock out of date result into an {@link UnresolvedDependency} in order to plug into lenient resolution.
         * This happens only if there are no previous failures as otherwise lock state can't be asserted.
         *
         * @return the existing failures augmented with any locking related one
         */
        public Set<UnresolvedDependency> collectLockingFailures() {
            if (dependencyLockingState.mustValidateLockState()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/tests/tfcompile_test.cc

      ASSERT_TRUE(muladd_shape != nullptr);
      ASSERT_EQ(muladd_shape->parameters_size(), 2);
      EXPECT_TRUE(
          ShapeUtil::Compatible(xla::Shape(muladd_shape->parameters(0)), f32_2x2));
      EXPECT_TRUE(
          ShapeUtil::Compatible(xla::Shape(muladd_shape->parameters(1)), f32_2x2));
    
      const xla::Shape muladd_result(muladd_shape->result());
      ASSERT_EQ(muladd_result.element_type(), xla::TUPLE);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/tests/make_test_graphs.py

    def tfassert_eq(_):
      x = array_ops.placeholder(dtypes.int32, name='x_hold')
      y = array_ops.placeholder(dtypes.int32, name='y_hold')
      control_flow_assert.Assert(
          math_ops.equal(x, y), ['Expected x == y.'], name='assert_eq')
      math_ops.add(x, math_ops.negative(y), name='x_y_diff')
    
    
    def tfcond(_):
      p = array_ops.placeholder(dtypes.bool, name='p_hold')
      x = array_ops.placeholder(dtypes.int32, name='x_hold')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      TF_ASSERT_OK(BuildXlaOps(root, fdef_lib, &graph));
    
      Node* stateful_partitioned_call_op = nullptr;
      for (Node* n : graph->op_nodes()) {
        if (n->type_string() == "StatefulPartitionedCall") {
          ASSERT_EQ(stateful_partitioned_call_op, nullptr);
          stateful_partitioned_call_op = n;
        }
      }
    
      ASSERT_NE(stateful_partitioned_call_op, nullptr);
      auto xla_compile = NodeWith(Op("_XlaCompile"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top