Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 399 for cdef (0.18 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            //        searchName = Srl.substringFirstRear(classificationName, ".");
            //    } else {
            //        return null;
            //    }
            //}
            //try {
            //    return CDef.DefMeta.valueOf(searchName);
            //} catch (IllegalArgumentException ignored) { // not found
            //    return null; // handled later
            //}
        }
    
        @Override
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

      tensorflow::GradientDef gdef;
      gdef.set_function_name(func->record->fdef().signature().name());
      gdef.set_gradient_func(grad->record->fdef().signature().name());
      status->status = g->graph.AddGradientDef(std::move(gdef));
    }
    
    int TF_GraphNumFunctions(TF_Graph* g) {
      tensorflow::mutex_lock l(g->mu);
      return g->graph.flib_def().num_functions();
    }
    
    int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. tensorflow/c/c_api_experimental.cc

      for (const FunctionDef& fdef : fdef_lib.function()) {
        // Make a copy so that we can mutate it.
        FunctionDef fdef_to_load = fdef;
        if (mutate_proto_func) {
          (*mutate_proto_func)(&fdef_to_load);
        }
        VLOG(1) << "Adding func to graph: " << fdef_to_load.DebugString();
        std::vector<char> binary_proto_buf(fdef_to_load.ByteSizeLong());
        fdef_to_load.SerializeToArray(binary_proto_buf.data(),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

    }
    
    void TFE_ContextAddFunction(TFE_Context* ctx, TF_Function* function,
                                TF_Status* status) {
      auto fdef_or = function->record->mutable_fdef();
      if (!fdef_or.ok()) {
        status->status = fdef_or.status();
        return;
      }
    
      AnnotateEagerRuntimeConstructionContext(*fdef_or.value());
      status->status = tensorflow::unwrap(ctx)->AddFunctionDefWithStackTraces(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  5. tensorflow/c/c_api_test.cc

      tensorflow::GraphDef graph_def_proto;
      ASSERT_TRUE(tensorflow::ParseProtoUnlimited(&graph_def_proto, graph_def->data,
                                                  graph_def->length));
      TF_Buffer graph_def_buffer;
      graph_def_buffer.data = reinterpret_cast<const void*>(&graph_def_proto);
      graph_def_buffer.length = sizeof(tensorflow::GraphDef*);
      TF_ImportGraphDefResults* results =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  6. tensorflow/c/c_api.cc

      return nullptr;
    #else
      mutex_lock l(api_def_map->lock);
      if (!api_def_map->update_docs_called) {
        api_def_map->api_def_map.UpdateDocs();
        api_def_map->update_docs_called = true;
      }
      string name_str(name, name_len);
      const auto* api_def = api_def_map->api_def_map.GetApiDef(name_str);
      if (api_def == nullptr) {
        return nullptr;
      }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/graph_function.cc

    namespace tensorflow {
    namespace tracing {
    namespace graph {
    GraphFunction::GraphFunction(FunctionDef fdef)
        : AbstractFunction(kGraph),
          func_record_(new FunctionRecord(std::move(fdef), {}, true)) {}
    GraphFunction::~GraphFunction() {}
    Status GraphFunction::GetFunctionDef(const FunctionDef **fdef) {
      *fdef = &(func_record_->fdef());
      return absl::OkStatus();
    }
    }  // namespace graph
    }  // namespace tracing
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. tests/test_dependency_contextmanager.py

    
    async def context_b(state: dict = Depends(context_a)):
        state["context_b"] = "started b"
        try:
            yield state
        finally:
            state["context_b"] = f"finished b with a: {state['context_a']}"
    
    
    @app.get("/async")
    async def get_async(state: str = Depends(asyncgen_state)):
        return state
    
    
    @app.get("/sync")
    async def get_sync(state: str = Depends(generator_state)):
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. tests/test_query.py

                ]
            }
        )
    
    
    def test_query_optional():
        response = client.get("/query/optional")
        assert response.status_code == 200
        assert response.json() == "foo bar"
    
    
    def test_query_optional_query_baz():
        response = client.get("/query/optional?query=baz")
        assert response.status_code == 200
        assert response.json() == "foo bar baz"
    
    
    def test_query_optional_not_declared_baz():
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_distributed_test.cc

          "      value: 'add2:z:0'"
          "    }",
          &def));
      return def.SerializeAsString();
    }
    
    void TestFunctionWithPackedInput(const bool remote) {
      tensorflow::ServerDef server_def = GetServerDef(3);
    
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
    
      server_def.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top