Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for elseif (4.85 sec)

  1. tensorflow/c/eager/unified_api_testutil.cc

        for (int i = 0; i < outputs.size(); i++) {
          if (!null_indices.contains(i)) {
            outputs[i] = fn_outputs[i - skipped_indices];
          } else {
            skipped_indices += 1;
          }
        }
        TF_RETURN_IF_ERROR(ctx->RemoveFunction(fn_name));
        return absl::OkStatus();
      } else {
        return model(ctx, inputs, outputs);
      }
    }
    
    Status BuildImmediateExecutionContext(bool use_tfrt, AbstractContext** ctx) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          }
          read = gcs_file->file_block_cache->Read(path, offset, n, buffer, status);
        } else {
          read = LoadBufferFromGCS(path, offset, n, buffer, gcs_file, status);
        }
        if (TF_GetCode(status) != TF_OK) return -1;
        if (read < n)
          TF_SetStatus(status, TF_OUT_OF_RANGE, "Read less bytes than requested");
        else
          TF_SetStatus(status, TF_OK, "");
        return read;
      };
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/math_grad.cc

      auto dtype = input->DataType();
      if (DataTypeIsFloating(BaseType(dtype)) ||
          DataTypeIsInteger(BaseType(dtype))) {
        return tensorflow::ops::Identity(ctx, input, output, name);
      } else if (!DataTypeIsComplex(BaseType(dtype)) &&
                 BaseType(dtype) != DT_VARIANT) {
        return errors::InvalidArgument(
            "Expected numeric or variant tensor, got dtype ", dtype);
      }
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. ci/official/envs/public_cache_push

    # public read-only cache.
    # The cache configs are different for MacOS and Linux
    if [[ $(uname -s) == "Darwin" ]]; then
      TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config tf_public_macos_cache_push"
    else
      TFCI_BAZEL_COMMON_ARGS="$TFCI_BAZEL_COMMON_ARGS --config tf_public_cache_push"
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. ci/official/pycpp.sh

    if [[ $TFCI_PYCPP_SWAP_TO_BUILD_ENABLE == 1 ]]; then
       tfrun bazel build $TFCI_BAZEL_COMMON_ARGS --profile "$TFCI_OUTPUT_DIR/profile.json.gz" --config="${TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX}_pycpp_test"
    else
       tfrun bazel test $TFCI_BAZEL_COMMON_ARGS --profile "$TFCI_OUTPUT_DIR/profile.json.gz" --config="${TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX}_pycpp_test"
    fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 06 17:29:44 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. .github/workflows/arm-ci-extended.yml

            shell: bash
            run: |
              running_containers=$(docker ps -q) && \
              if [[ $running_containers == "" ]]; then
                echo "No running containers";
              else
                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
              docker image prune -af
          - name: Clean repository
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Mar 05 10:24:16 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        const FullTypeDef* ft;
        mutex_lock l(graph_->mu);
        graph_->graph.NodeType(output_.oper->node.name(), &ft);
        if (ft == nullptr) {
          return FullTypeDef();
        } else {
          return *ft;
        }
      }
    
      TF_Output output_;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  8. tensorflow/c/eager/c_api_remote_test_util.cc

        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      } else {
        // Handles are on task0 (local), and task2, but op is on task1.
        matmul = MatMulOp(ctx, h0_task0, h1_task2);
      }
      if (remote) {
        TFE_OpSetDevice(matmul, task1_name, status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      } else if (!async) {
        // Set the local device to CPU to easily validate mirroring
    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.cc

        bool clear_existing_contexts) {
    #if defined(IS_MOBILE_PLATFORM)
      status->status = tensorflow::errors::Unimplemented(
          "TFE_ContextSetServerDef not supported on mobile");
    #else   // !defined(IS_MOBILE_PLATFORM)
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, proto_len)) {
        status->status = tensorflow::errors::InvalidArgument(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  10. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.cc

      if (av_tensor == nullptr) {
        TF_ASSIGN_OR_RETURN(
            *tensor, MakeTensorFromPjRtBuffer(tensor->dtype(), tensor->shape(),
                                              std::move(buffer)));
      } else {
        av_tensor->SetBuffer(std::move(buffer));
      }
      return absl::OkStatus();
    }
    
    absl::StatusOr<xla::PjRtCApiClient*> GetPjRtCApiClient(
        const DeviceType& device_type) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top