Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for scalar (0.17 sec)

  1. tensorflow/c/c_api_test.cc

    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_function_test.cc

       *                   v
       */
      // Define
      TF_Operation* c = ScalarConst(10, func_graph_, s_, "scalar10");
      Define(-1, {}, {}, {c}, {});
    
      // Use, run, and verify
      TF_Operation* func_op = Use({});
      Run({}, func_op, 10);
      VerifyFDef({"scalar10_0"}, {}, {{"scalar10", DT_INT32}},
                 {{"scalar10_0:output:0", "scalar10"}}, {});
    }
    
    TEST_F(CApiFunctionTest, OneOp_OneInput_OneOutput) {
      /*
    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)
  3. tensorflow/c/c_api.h

    // into `dims`. `dims` must be an array large enough to hold `num_dims`
    // entries (e.g., the return value of TF_GraphGetTensorNumDims).
    //
    // If the number of dimensions in the shape is unknown or the shape is
    // a scalar, `dims` will remain untouched. Otherwise, each element of
    // `dims` will be set corresponding to the size of the dimension. An
    // unknown dimension is represented by `-1`.
    //
    // Returns an error into `status` if:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top