Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for scalar10 (0.07 sec)

  1. 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) {
      /*
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. docs/en/docs/img/sponsors/scalar.svg

    scalar.svg...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Nov 28 10:52:35 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  3. docs/en/docs/img/sponsors/scalar-banner.svg

    scalar-banner.svg...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Nov 28 10:52:35 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      TF_Operation* scalar3 = TF_GraphOperationByName(graph, "imported3/scalar");
      TF_Operation* feed3 = TF_GraphOperationByName(graph, "imported3/feed");
      TF_Operation* neg3 = TF_GraphOperationByName(graph, "imported3/neg");
      ASSERT_TRUE(scalar3 != nullptr);
      ASSERT_TRUE(feed3 != nullptr);
      ASSERT_TRUE(neg3 != nullptr);
    
      // Check that newly-imported scalar and feed have control deps (neg3 will
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. docs/en/data/sponsors.yml

        img: https://fastapi.tiangolo.com/img/sponsors/bump-sh.svg
      - url: https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=main-badge
        title: "Scalar: Beautiful Open-Source API References from Swagger/OpenAPI files"
        img: https://fastapi.tiangolo.com/img/sponsors/scalar.svg
      - url: https://www.propelauth.com/?utm_source=fastapi&utm_campaign=1223&utm_medium=mainbadge
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. docs/en/overrides/main.html

        </div>
        <div class="item">
          <a title="Scalar: Beautiful Open-Source API References from Swagger/OpenAPI files" style="display: block; position: relative;" href="https://github.com/scalar/scalar/?utm_source=fastapi&utm_medium=website&utm_campaign=top-banner" target="_blank">
            <span class="sponsor-badge">sponsor</span>
            <img class="sponsor-image" src="/img/sponsors/scalar-banner.svg" />
          </a>
        </div>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. tensorflow/c/c_test_util.h

    TF_Operation* ScalarConst(bool v, TF_Graph* graph, TF_Status* s,
                              const char* name = "scalar");
    
    TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s,
                              const char* name = "scalar");
    
    TF_Operation* ScalarConst(double v, TF_Graph* graph, TF_Status* s,
                              const char* name = "scalar");
    
    TF_Operation* ScalarConst(float v, TF_Graph* graph, TF_Status* s,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test_util.h

    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    // Return a tensor handle containing a float scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, float value);
    
    // Return a tensor handle containing a int scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, int value);
    
    // Return a tensor handle containing a bool scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, bool value);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental_test.cc

      TFE_OpSetAttrType(fill_op, "T", TF_FLOAT);
      TFE_OpSetAttrType(fill_op, "Tshape", TF_INT32);
    
      float five = 5.0;
      TFE_TensorHandle* scalar = TestScalarTensorHandle(tfe_context_, five);
      TF_Tensor* scalarTensor = TFE_TensorHandleResolve(scalar, status_);
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
      CheckOutputShapes(fill_op,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradient_checker.cc

      int num_dims_out = TF_NumDims(model_out_tensor);
      TF_DeleteTensor(model_out_tensor);
    
      // If the output is a scalar, then return the scalar output
      if (num_dims_out == 0) {
        outputs[0] = model_out.release();
        return absl::OkStatus();
      }
    
      // Else, reduce sum the output to get a scalar
    
      // Will sum all dimensions, so get a Tensor containing [0,...,num_dims_out-1].
      AbstractTensorHandlePtr sum_dims;
      {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top