Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindFunctionByName (0.28 sec)

  1. tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc

        TF_EXPECT_OK(status) << status.message();
        // The function should be registered with context.
        EXPECT_TRUE(context()->FindFunctionByName(func_name));
      }
    
      // After `result's` destructor runs, the function should no longer be
      // registered with context.
      EXPECT_FALSE(context()->FindFunctionByName(func_name));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc

      // can change and thus affect which kernel is picked.
      auto x = FingerprintCat64(cache_key.high64, cache_key.low64);
      std::string fname =
          absl::StrCat("_expanded_", ndef.name(), "_", std::to_string(x));
      if (!ctx.FindFunctionByName(fname)) {
        TF_ASSIGN_OR_RETURN(auto func, ExpandNode(ndef, fname));
        TF_RETURN_IF_ERROR(ctx.AddFunctionDef(func));
      }
    
      // Rewrite the out_op to be the call op. This essentially a deep copy of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top