Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for XTimesTwo (0.08 sec)

  1. tensorflow/cc/gradients/functional_grad_test.cc

      *(f_lib_proto.add_function()) = test::function::XTimesTwo();
    
      // Construct a graph:
      //   A = Placeholder[dtype=int32]
      //   B = XTimesTwo[_tpu_replicate="cluster"](A)
      //   C = XTimesTwo[_xla_compile_id="cluster"](A)
      TF_ASSERT_OK(scope_.graph()->AddFunctionLibrary(f_lib_proto));
    
      Output x = Placeholder(scope_, DT_FLOAT);
      NameAttrList f;
      f.set_name("XTimesTwo");
      (*f.mutable_attr())["T"].set_type(DT_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 26 14:42:24 UTC 2021
    - 3K bytes
    - Viewed (0)
Back to top