Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for summary_tensor (1.39 sec)

  1. tensorflow/c/kernels/summary_op.cc

        v->set_simple_value(static_cast<float>(values_array[i]));
      }
      TF_Tensor* summary_tensor =
          TF_AllocateOutput(ctx, 0, TF_ExpectedOutputDataType(ctx, 0), nullptr, 0,
                            sizeof(tensorflow::tstring), params.status);
      if (TF_GetCode(params.status) != TF_OK) {
        TF_DeleteTensor(summary_tensor);
        TF_OpKernelContext_Failure(ctx, params.status);
        return;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/c/kernels/merge_summary_op.cc

              TF_OpKernelContext_Failure(ctx, status.get());
              return;
            }
            *s.add_value() = summary_in.value(v);
          }
        }
      }
      Safe_TF_TensorPtr summary_tensor(TF_AllocateOutput(
          /*context=*/ctx, /*index=*/0, /*dtype=*/TF_ExpectedOutputDataType(ctx, 0),
          /*dims=*/nullptr, /*num_dims=*/0,
          /*len=*/sizeof(tensorflow::tstring), status.get()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/c/kernels/histogram_summary_op.cc

          *(static_cast<tensorflow::tstring*>(TF_TensorData(safe_tags_ptr.get())));
      v->set_tag(tag.data(), tag.size());
      histo.EncodeToProto(v->mutable_histo(), false /* Drop zero buckets */);
    
      Safe_TF_TensorPtr summary_tensor(TF_AllocateOutput(
          /*context=*/ctx, /*index=*/0, /*dtype=*/TF_ExpectedOutputDataType(ctx, 0),
          /*dims=*/nullptr, /*num_dims=*/0,
          /*len=*/sizeof(tensorflow::tstring), status.get()));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top