Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 50 for as_str (0.26 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

          TF_NewStatus(), TF_DeleteStatus);
    
      // Start a new function / execution context.
      string fn_name = "double";
      TF_ExecutionContext* graph_ctx =
          TF_CreateFunction(fn_name.c_str(), status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      auto* placeholder_t =
          TF_AddFunctionParameter(graph_ctx, TF_FLOAT, {-1, nullptr}, status.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      std::string mat_mul_method =
          absl::StrFormat(kMatMulModuleStr, test_case.mat_mul_method);
      TF_ASSERT_OK_AND_ASSIGN(
          XlaCompiler::CompilationResult result,
          CompileMlirModule(
              mat_mul_method.c_str(),
              ConfigProto::Experimental::MLIR_BRIDGE_ROLLOUT_UNSPECIFIED));
    }
    
    INSTANTIATE_TEST_SUITE_P(
        BatchMatMulTest, BatchMatMulTest,
        ::testing::ValuesIn<MatMulTestCase>({
            {"BatchMatMul"},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. tests/test_path.py

            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "ensure this value has at least 3 characters",
                        "type": "value_error.any_str.min_length",
                        "ctx": {"limit_value": 3},
                    }
                ]
            }
        )
    
    
    def test_path_param_maxlength_foo():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. tests/test_annotated.py

            | IsDict(
                {
                    "ctx": {"limit_value": 1},
                    "loc": ["query", "foo"],
                    "msg": "ensure this value has at least 1 characters",
                    "type": "value_error.any_str.min_length",
                }
            )
        ]
    }
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/default", 200, {"foo": "foo"}),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        // this may not be consistent with python's naming policy.
        mutex_lock l(g_->mu);
        op_.reset(new TF_OperationDescription(g_, op_type_.c_str(),
                                              g_->graph.NewName(op_name).c_str()));
        return absl::OkStatus();
      }
      const string& Name() const override { return op_type_; }
      const string& DeviceName() const override { return device_name_; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/net/http/request_test.go

    				req.AddCookie(c)
    			}
    
    			got := req.CookiesNamed(tt.filter)
    
    			if !reflect.DeepEqual(got, tt.want) {
    				asStr := func(v any) string {
    					blob, _ := json.MarshalIndent(v, "", "  ")
    					return string(blob)
    				}
    				t.Fatalf("Result mismatch\n\tGot: %s\n\tWant: %s", asStr(got), asStr(tt.want))
    			}
    		})
    	}
    }
    
    const (
    	fileaContents = "This is a test file."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      TFE_OpSetAttrInt(op.get(), "instance_key", 0);
      const std::string merge_op("Add");
      TFE_OpSetAttrString(op.get(), "merge_op", merge_op.c_str(),
                          merge_op.length());
      const std::string final_op("Id");
      TFE_OpSetAttrString(op.get(), "final_op", final_op.c_str(),
                          final_op.length());
      TFE_OpSetAttrIntList(op.get(), "subdiv_offsets", nullptr, 0);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 29.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    std::unique_ptr<FlatBufferModel> ReadSharedWeightsTestModel() {
      auto model_path = tensorflow::io::JoinPath(*g_test_model_dir,
                                                 internal::kModelWithSharedWeights);
      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    std::unique_ptr<FlatBufferModel> ReadGatherTestModel() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/link.go

    	// ABIs.
    	ABIInternal
    
    	ABICount
    )
    
    // ParseABI converts from a string representation in 'abistr' to the
    // corresponding ABI value. Second return value is TRUE if the
    // abi string is recognized, FALSE otherwise.
    func ParseABI(abistr string) (ABI, bool) {
    	switch abistr {
    	default:
    		return ABI0, false
    	case "ABI0":
    		return ABI0, true
    	case "ABIInternal":
    		return ABIInternal, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

              test_name_stream << test_info->test_base_name << "/" << i;
              MakeAndRegisterTestInfo(
                  test_case_name.c_str(),
                  test_name_stream.GetString().c_str(),
                  NULL,  // No type parameter.
                  PrintToString(*param_it).c_str(),
                  GetTestCaseTypeId(),
                  TestCase::SetUpTestCase,
                  TestCase::TearDownTestCase,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 23.6K bytes
    - Viewed (0)
Back to top