Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for assertGet (0.2 sec)

  1. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

      const FunctionDef *f1_rewritten = fld.Find("f1_rearrange_0");
      CHECK_NE(f1_rewritten, nullptr);
      ASSERT_EQ(f1_rewritten->signature().input_arg_size(), 2);
      EXPECT_EQ(f1_rewritten->signature().input_arg(0).type(), DT_BOOL);
      EXPECT_EQ(f1_rewritten->signature().input_arg(1).type(), DT_RESOURCE);
      ASSERT_EQ(f1_rewritten->signature().output_arg_size(), 1);
      EXPECT_EQ(f1_rewritten->signature().output_arg(0).type(), 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)
  2. tensorflow/cc/saved_model/fingerprinting_utils_test.cc

    TEST(FingerprintingTest, TestSerializeProto) {
      std::string many_fields_text_proto = R"pb(
        string_field: "abc123"
      )pb";
      ManyFields many_fields;
      TF_ASSERT_OK(ParseTextProto(many_fields_text_proto, &many_fields));
      ASSERT_EQ(SerializeProto(many_fields), many_fields.SerializeAsString());
    }
    
    TEST(FingerprintingTest, TestHashFieldsV2) {
      std::string cpb_file = io::JoinPath(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

                // Register that we've asserted this location
                assertedLocationCount += 1
    
                def offsetLocation = locations.find {
                    it instanceof OffsetInFileLocation
                }
                assert offsetLocation != null: "Expected a precise file location, but it was null"
                // Register that we've asserted this location
                assertedLocationCount += 1
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/time/tick_test.go

    		noTick()
    
    		// Test that len sees an immediate tick arrive
    		// for Reset of timer in heap.
    		tim.Reset(1)
    		assertLen()
    		assertTick()
    
    		// Test that len sees an immediate tick arrive
    		// for Reset of timer NOT in heap.
    		tim.Stop()
    		drainAsync()
    		tim.Reset(1)
    		assertLen()
    		assertTick()
    	}
    
    	// Sleep long enough that a second tick must happen if this is a ticker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc

      EXPECT_TRUE(mlir::isa<mlir::DenseStringElementsAttr>(attr));
      auto string_attr = mlir::cast<mlir::DenseStringElementsAttr>(attr);
      auto string_values = string_attr.getRawStringData();
      ASSERT_EQ(string_values.size(), 4);
      EXPECT_EQ(string_values[0], mlir::StringRef("one"));
      EXPECT_EQ(string_values[1], mlir::StringRef("two"));
      EXPECT_EQ(string_values[2], mlir::StringRef("three"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/complit.go

    		kidx := ir.NewIndexExpr(base.Pos, vstatk, i)
    		kidx.SetBounded(true)
    
    		// typechecker rewrites OINDEX to OINDEXMAP
    		lhs := typecheck.AssignExpr(ir.NewIndexExpr(base.Pos, m, kidx)).(*ir.IndexExpr)
    		base.AssertfAt(lhs.Op() == ir.OINDEXMAP, lhs.Pos(), "want OINDEXMAP, have %+v", lhs)
    		lhs.RType = n.RType
    
    		zero := ir.NewAssignStmt(base.Pos, i, ir.NewInt(base.Pos, 0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

    //   ...
    //
    // where pred_format is a function or functor that takes n (in the
    // case of ASSERT_PRED_FORMATn) values and their source expression
    // text, and returns a testing::AssertionResult.  See the definition
    // of ASSERT_EQ in gtest.h for an example.
    //
    // If you don't care about formatting, you can use the more
    // restrictive version:
    //
    //   ASSERT_PRED1(pred, v1)
    //   ASSERT_PRED2(pred, v1, v2)
    //   ...
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-main/src/executable/resources/META-INF/LICENSE

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top