Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stateVal (0.18 sec)

  1. tensorflow/c/c_api_experimental.cc

      status->status =
          tensorflow::OpRegistry::Global()->LookUp(op_type, &op_reg_data);
      if (!status->status.ok()) {
        return 0;
      }
      return op_reg_data->op_def.is_stateful();
    }
    
    void TF_InitMain(const char* usage, int* argc, char*** argv) {
      tensorflow::port::InitMain(usage, argc, argv);
    }
    
    int TF_PickUnusedPortOrDie() {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

      DCHECK(append_hash_to_fn_name <= 1);
      tensorflow::FunctionDef fdef;
      status->status = tensorflow::GraphToFunctionDef(
          fn_body->graph, fn_name, append_hash_to_fn_name != 0,
          /*set_stateful_from_nodes=*/true,
          /*copy_placeholder_attrs_from_nodes=*/true, body_nodes, input_tensors,
          output_tensors, output_names_vec, control_output_nodes,
          control_output_names_vec, description, &fdef);
    C++
    - Registered: Tue Apr 30 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_function_test.cc

      OpDef op_def;
      op_def.ParseFromString(data);
      EXPECT_EQ(op_def.name(), func_name_);
      EXPECT_EQ(op_def.input_arg_size(), 1);
      EXPECT_EQ(op_def.output_arg_size(), 1);
      EXPECT_FALSE(op_def.is_stateful());
    
      TF_DeleteBuffer(buffer);
    }
    
    void DefineStatefulFunction(const char* name, TF_Function** func) {
      std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top