Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for effect (0.15 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.h

    // capture some inputs and then add a node in the graph. The output tensors are
    // returned through the provided TF_OutputList.
    // Any active tape will observe the effects of this execution.
    void TF_ExecuteOperation(TF_AbstractOp* op, int num_inputs,
                             TF_AbstractTensor* const* inputs, TF_OutputList* o,
                             TF_Status* s);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/custom_device_test.cc

      EXPECT_FALSE(executed);
      ASSERT_FALSE(TF_GetCode(status.get()) == TF_OK);
    
      // Custom devices can refuse to do type-based dispatch (as hcustom1 is
      // configured to do)
      matmul.reset(MatMulOp(context.get(), hcustom1.get(), hcpu.get()));
      num_retvals = 1;
      executed = false;
      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
      EXPECT_FALSE(executed);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  3. ci/official/README.md

    -   x86 and arm64
    -   CPU-only, or with NVIDIA CUDA support (Linux only), or with TPUs
    
    ## How to Test Your Changes to TensorFlow
    
    You may check how your changes will affect TensorFlow by:
    
    1. Creating a PR and observing the presubmit test results
    2. Running the CI scripts locally, as explained below
    3. **Google employees only**: Google employees can use an internal-only tool
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/array_grad_test.cc

      status_ =
          RunModel(IdentityNGradModel, immediate_execution_ctx_.get(),
                   {x1.get(), x2.get()}, absl::MakeSpan(outputs), UseFunction());
      ASSERT_EQ(errors::OK, status_.code()) << status_.message();
      EXPECT_EQ(outputs[0], nullptr);
      ASSERT_NO_FATAL_FAILURE(CheckTensorValue(outputs[1], {1.0f}, /*dims*/ {},
                                               /*abs_error*/ 0));
      outputs[1]->Unref();
    }
    
    #ifdef PLATFORM_GOOGLE
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. RELEASE.md

            losses will now use `SUM_OVER_BATCH_SIZE` reduction as default.
        *   `model.add_loss(symbolic_tensor)` should work in ambient eager.
        *   Update metric name to always reflect what the user has given in compile.
            Affects following cases
        *   When name is given as 'accuracy'/'crossentropy'
        *   When an aliased function name is used eg. 'mse'
        *   Removing the `weighted` prefix from weighted metric names.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. tensorflow/c/c_api_experimental_test.cc

        int64_t* dims = output_shapes->items[0].dims;
    
        if (!expected_shape.has_value()) {
          EXPECT_EQ(num_dims, -1);
          EXPECT_EQ(dims, nullptr);
          return;
        }
    
        EXPECT_EQ(num_dims, expected_shape->size());
        for (size_t i = 0; i < num_dims; ++i) {
          EXPECT_EQ(dims[i], (*expected_shape)[i]);
        }
        TF_DeleteShapeAndTypeList(input_shapes);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  7. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(func_->record->fdef().signature().attr().size(), 2);
      EXPECT_EQ(func_->record->fdef().signature().attr(0).name(), "v1");
      EXPECT_EQ(func_->record->fdef().signature().attr(0).type(), "int");
      EXPECT_EQ(func_->record->fdef().signature().attr(1).name(), "v2");
      EXPECT_EQ(func_->record->fdef().signature().attr(1).type(), "int");
    }
    
    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)
  8. tensorflow/c/eager/c_api_remote_test_util.cc

      TFE_DeleteTensorHandle(retval_task0);
      float product[4] = {0};
      EXPECT_EQ(sizeof(product), TF_TensorByteSize(t));
      memcpy(&product[0], TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
      EXPECT_EQ(7, product[0]);
      EXPECT_EQ(10, product[1]);
      EXPECT_EQ(15, product[2]);
      EXPECT_EQ(22, product[3]);
    
      TFE_DeleteTensorHandle(h0_task0);
      TFE_DeleteTensorHandle(h1_task0);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test_util.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_ContextSetServerDefWithTimeout(ctx, 0, serialized_server_def.data(),
                                         serialized_server_def.size(),
                                         init_timeout_in_ms, status,
                                         /*clear_existing_contexts=*/false);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// argument list with the out arguments. We only use the return type for an out
    /// parameter if that is a plain C type, as this ensures ABI compatibility
    /// (returning structures has issues in case compiler options affect
    /// optimizations such as RVO). If a status needs to be returned from these
    /// methods, the last argument is always a `TF_Status *` (or an array of such
    /// pointers) owned by core TensorFlow and guaranteed to not be `nullptr`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top