Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,518 for _from (0.15 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

      TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(ctx));
      if (!tracing_ctx) {
        tsl::Set_TF_Status_from_Status(
            s, tensorflow::errors::InvalidArgument(
                   "Only TracingContext can be converted into a function."));
        return nullptr;
      }
      tsl::Set_TF_Status_from_Status(s,
                                     tracing_ctx->Finalize(unwrap(outputs), &func));
      TF_DeleteExecutionContext(ctx);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. tests/create_test.go

    		t.Fatalf("failed to create data from map, got error: %v", err)
    	}
    
    	var result1 User
    	if err := DB.Where("name = ?", "create_from_map_1").First(&result1).Error; err != nil || result1.Age != 18 {
    		t.Fatalf("failed to create from map, got error %v", err)
    	}
    
    	datas := []map[string]interface{}{
    		{"Name": "create_from_map_2", "Age": 19},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

                path[method.lower()] = operation
        return path, security_schemes, definitions
    
    
    def get_fields_from_routes(
        routes: Sequence[BaseRoute],
    ) -> List[ModelField]:
        body_fields_from_routes: List[ModelField] = []
        responses_from_routes: List[ModelField] = []
        request_fields_from_routes: List[ModelField] = []
        callback_flat_models: List[ModelField] = []
        for route in routes:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.cc

                                                      TF_Status* status,
                                                      const char* description) {
      auto* result = new TFE_MonitoringCounter0({name, description});
      tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus());
      if (!result->counter->GetStatus().ok()) {
        delete result;
        return nullptr;
      }
      return result;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  5. android/guava/src/com/google/common/graph/AbstractNetwork.java

    import static com.google.common.graph.GraphConstants.EDGE_REMOVED_FROM_GRAPH;
    import static com.google.common.graph.GraphConstants.ENDPOINTS_MISMATCH;
    import static com.google.common.graph.GraphConstants.MULTIPLE_EDGES_CONNECTING;
    import static com.google.common.graph.GraphConstants.NODE_PAIR_REMOVED_FROM_GRAPH;
    import static com.google.common.graph.GraphConstants.NODE_REMOVED_FROM_GRAPH;
    import static java.util.Collections.unmodifiableSet;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

    package configurations
    
    import common.Arch
    import common.BuildToolBuildJvm
    import common.Jvm
    import common.KillProcessMode.KILL_ALL_GRADLE_PROCESSES
    import common.KillProcessMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS
    import common.KillProcessMode.KILL_PROCESSES_STARTED_BY_GRADLE
    import common.Os
    import common.VersionedSettingsBranch
    import common.applyDefaultSettings
    import common.buildToolGradleParameters
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

        }
    
        @Test
        fun `can apply defaults to configurations`() {
            applyDefaults(buildModel, buildType, "myTask")
    
            assertEquals(
                listOf(
                    "KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS",
                    "GRADLE_RUNNER",
                    "KILL_PROCESSES_STARTED_BY_GRADLE",
                    "CHECK_CLEAN_M2_ANDROID_USER_HOME"
                ),
                steps.items.map(BuildStep::name)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. fastapi/_compat.py

        )
        from pydantic.schema import (
            field_schema,
            get_flat_models_from_fields,
            get_model_name_map,
            model_process_schema,
        )
        from pydantic.schema import (  # type: ignore[no-redef]  # noqa: F401
            get_annotation_from_field_info as get_annotation_from_field_info,
        )
        from pydantic.typing import (  # type: ignore[no-redef]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. configure.py

          question=question,
          yes_reply=yes_reply,
          no_reply=no_reply,
          bazel_config_name='download_clang')
    
    
    def get_from_env_or_user_or_default(environ_cp, var_name, ask_for_var,
                                        var_default):
      """Get var_name either from env, or user or default.
    
      If var_name has been set as environment variable, use the preset value, else
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

     * limitations under the License.
     */
    
    package util
    
    import common.Arch
    import common.BuildToolBuildJvm
    import common.JvmVendor
    import common.JvmVersion
    import common.KillProcessMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS
    import common.KillProcessMode.KILL_PROCESSES_STARTED_BY_GRADLE
    import common.Os
    import common.applyDefaultSettings
    import common.buildToolGradleParameters
    import common.checkCleanM2AndAndroidUserHome
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top