Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for add_function (0.21 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      noinline.mutable_signature()->set_name("NoInlineFn");
      AddAttr("_noinline", static_cast<bool>(true), noinline.mutable_attr());
    
      FunctionDefLibrary flib;
      *flib.add_function() = compilable;
      *flib.add_function() = uncompilable;
      *flib.add_function() = noinline;
      FunctionLibraryDefinition flib_def(OpRegistry::Global(), flib);
    
      std::unique_ptr<Graph> graph(new Graph(&flib_def));
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

          "    }",
          &def));
      return def.SerializeAsString();
    }
    
    // a + a
    string AddFunction() {
      tensorflow::FunctionDef def;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(
          "    signature {"
          "      name: 'AddFunction'"
          "      input_arg {"
          "        name: 'a'"
          "        type: DT_FLOAT"
          "      }"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
Back to top